heker
Membru-
Posts
617 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by heker
-
Salut. Ma intereseaza cum pot crea si eu un log.txt sa pot vedea ce comenzi sunt folosite pe server sa imi scrie in log: [date:ora..] player(%s) /mission Vreo parere ceva?
-
Am si eu o problema cu /mute cand dau /mute id time de exeplu /mute viorel 10 nu expira mute nici peste o ora :| ce pot face?
-
Nuj ce legatura are dar la mine functioneaza :|
-
Tu folosesti raven's rp si o luom pe puncte: 1.Probleme Godfather 2. Il acel gm ai incorporat /creaatehouse 3.Aici nu lasi id de mess sau linkuri de gm ci doar inveti!! TOPIC CLOSED
-
Prea multe posturi la probleme godfather cum sa se faca wantedul sa numai dispara pentru RP,GF. Am decis sa arat la toti incepatorii cum se face... Prima data cautati linia: if(newstate == PLAYER_STATE_SPAWNED) si inlocuiesti cu: if(newstate == PLAYER_STATE_SPAWNED) { new Float: lwx, Float:lwy, Float:lwz; GetPlayerPos(playerid, lwx, lwy, lwz); if((lwz > 530.0 && PlayerInfo[playerid][pInt] == 0) || PlayerToPoint(1000.0, playerid, -1041.9,-1868.4,79.1)) //the highest land point in sa = 526.8 { SetPlayerSpawn(playerid); } if(PlayerOnMission[playerid] > 0) { GameTextForPlayer(playerid, "~r~Mission failed", 5000, 3); PlayerOnMission[playerid] = 0; PlayerInfo[playerid][pMissionNr] = 0; } if(PlayerInfo[playerid][pDonateRank] > 0) { SetPlayerHealth(playerid, 100.0); } else { SetPlayerHealth(playerid, 50.0+PlayerInfo[playerid][pSHealth]); } MedicBill[playerid] = 1; TelePos[playerid][0] = 0.0; TelePos[playerid][1] = 0.0; gPlayerSpawned[playerid] = 1; SafeTime[playerid] = 60; } Dati lock macar nu il stergeti sa vada toti incepatorii cum se face....
-
Poi trebuie sa ii faci u un timer cred
-
Salut am si eu comanda: if(strcmp(cmd, "/fmats", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsAMember(playerid)) { new x; x = PlayerInfo[playerid][pMember] + PlayerInfo[playerid][pLeader]; if(PlayerInfo[playerid][pRank] < 3) { SCM(playerid, COLOR_GREY, " You need to be Rank 3 or Higher for this action !"); return 1; } /*if(DynamicFactions[x][fSafe] <= 0) { SCM(playerid, COLOR_WHITE, "The leader must buy a SAFE first !"); return 1; }*/ new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { if(PTP(5.0,playerid,DynamicFactions[x][fX],DynamicFactions[x][fY],DynamicFactions[x][fZ])) { format(string, sizeof(string), "Faction Mats: $%d.", DynamicFactions[x][fMats]); SCM(playerid, COLOR_WHITE, string); } SCM(playerid, COLOR_WHITE, "|________________________fMats_________________________|"); SCM(playerid, COLOR_WHITE, "| USAGE: /fmats [name] [ammount]"); SCM(playerid, COLOR_GREY, " | Available names: Take , Put"); SCM(playerid, COLOR_WHITE, "|______________________________________________________|"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(giveplayerid, playername, sizeof(playername)); if(strcmp(x_nr,"take",true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SCM(playerid, COLOR_GREY, "[USAGE:] /fmats take [amount]"); return 1; } new materialsdeposit = strval(tmp); if(!strlen(tmp)) { SCM(playerid, COLOR_GREY, "[USAGE:] /fmats take [amount]"); return 1; } if(PTP(5.0,playerid,DynamicFactions[x][fX],DynamicFactions[x][fY],DynamicFactions[x][fZ])) { if(materialsdeposit <=DynamicFactions[x][fMats]) { PlayerInfo[playerid][pMats] += materialsdeposit; DynamicFactions[x][fMats]=DynamicFactions[x][fMats]-materialsdeposit; format(string, sizeof(string), "You have taken %d mats from the storage facility, Materials Total: %d ", materialsdeposit,DynamicFactions[x][fMats]); SCM(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "%s has just taken %d mats from the faction storage facility.",sendername,materialsdeposit); SendFamilyMessage(x, TEAM_AZTECAS_COLOR, string); SaveDynamicFactions(); return 1; } else { SCM(playerid, COLOR_GREY, "There isn't that much mats in storage!"); } } else { SCM(playerid, COLOR_GREY , "You are not at the faction storage facility!"); } } else if(strcmp(x_nr,"put",true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SCM(playerid, COLOR_GREY, "[USAGE:] /fmats put [amount]"); return 1; } new materialsdeposit = strval(tmp); if(!strlen(tmp)) { SCM(playerid, COLOR_GREY, "[USAGE:] /fmats put [amount]"); return 1; } if(PTP(5.0,playerid,DynamicFactions[x][fX],DynamicFactions[x][fY],DynamicFactions[x][fZ])) { if(materialsdeposit <= PlayerInfo[playerid][pMats]) { PlayerInfo[playerid][pMats] =PlayerInfo[playerid][pMats]-materialsdeposit; DynamicFactions[x][fMats] +=materialsdeposit; format(string, sizeof(string), "You putted %d mats from the storage facility, Materials Total: %d ", materialsdeposit,DynamicFactions[x][fMats]); SCM(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "%s has just putted %d mats from the faction storage facility.",sendername,materialsdeposit); SendFamilyMessage(x, TEAM_AZTECAS_COLOR, string); SaveDynamicFactions(); return 1; } else { SCM(playerid, COLOR_GREY, "You don't have that much mats on you!"); } } else { SCM(playerid, COLOR_GREY, "You are not at the faction storage facility!"); } } else { SCM(playerid, COLOR_GREY, "Unknown fMats name !"); return 1; } } else { SCM(playerid, COLOR_GREY, "You are not a gang member !"); return 1; } } return 1; } si merge de peste tot :| eu vreau decat dintrun loc sa merga si doar o anumita factiune sa o folosesca ma ajutati va rog, am mai multe comenzi dar datimi un exeplu daca se poate :D
-
Salut. Cum pot creea si eu obiecte intrun interior, de exemplu in city hall, in jail la lspd, in case...?
-
Merci la amn2 :* Puteti da TC
-
Am incercat sa o si dublez sa scriu si asa || si asa && dar zice k nu sunt la pickup (mentionez ca este gf lui fear originalul) :D
-
Eu vreau sa merga amn2
-
Salut am si eu de exemplu comanda /arrest. Pot da arest de aicea: if(!PlayerToPoint(6.0, playerid, 1525.9470, -1678.3567, 5.6114)) dar eu vreau si din alte parte...am incercat if(!PlayerToPoint(6.0, playerid, 1525.9470, -1678.3567, 5.6114) || (PlayerToPoint(6.0, playerid, X, Y, Z)) dar nu mere...imi puteti da o idee
-
Salutare. Am si eu o problema minora. Am scos iconurile de la bizuri, leam sters de la: public OnPlayerSpawn(playerid) si de aicea: if(MapIconsShown[playerid] != 1) { MapIconsShown[playerid] = 1; //for(new i = 0; i < sizeof(BizzInfo); i++) //{ //SetPlayerMapIcon(playerid,i + 1,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ],36,COLOR_LIGHTRED); //} //for(new i = 0; i < sizeof(SBizzInfo); i++) //{ //SetPlayerMapIcon(playerid,i + 20,SBizzInfo[i][sbEntranceX],SBizzInfo[i][sbEntranceY],SBizzInfo[i][sbEntranceZ],36,COLOR_LIGHTRED); //} } si am incercat sa bag la: public OnPlayerConnect(playerid) iconul: SetPlayerMapIcon(playerid, 1, 1568.4319, -1689.9971, 6.2188,30,0 );// police icon dar cand incerc sa mai bag si altul la biz de exemplu: SetPlayerMapIcon(playerid, 2, 1498.4376, -1581.2172, 13.5498,19,0 );// Biz Restaurant icon mil vede decat pe cel de la resturant pe cel de la politie nul mai vede :|. Folosesc streamerul lui icognito si am incercat sa fac cum scrie pe la native-le alea CreateDynamicMapIcon dar imi da aceasta eroare: D:\MrIllusion\MrIllusion\gamemodes\gf.pwn(2010) : warning 213: tag mismatch D:\MrIllusion\MrIllusion\gamemodes\gf.pwn(2010) : warning 213: tag mismatch cred ca am fost destul de explicit =)) si as miai avea o intrebare. daca scot toate masinile care sunt spawnate pe drum fara sa fie trecute cu addstaticveh, createvehicle......, acestea: new CarSpawns[182][eCars] = { {405,-2125.7424,658.0462,52.2988,93.9612},//carid 90 {426,-2158.0222,657.3932,52.2775,272.8372}, {445,-1926.3204,585.6179,34.9963,359.8303}, {492,2229.2,-1170.2,25.7,86.9}, {507,-2214.8047,-82.7890,35.0474,0.6476}, {545,2217.0,-1157.2,25.7,269.8}, {547,405.9748,-1264.3921,50.1237,24.2110}, {550,-1497.4576,845.8479,6.9382,88.5201}, {551,-1741.0051,811.0620,24.5782,270.6681}, {560,2106.4695,-1248.7920,24.0461,0.1524}, {566,2196.2891,-1277.7905,24.2147,180.4522}, {402,-1704.3132,999.7747,17.3646,90.0725}, {405,216.5521,-1431.4004,13.0853,132.5749}, {554,334.2231,-1343.7405,14.3828,209.9581}, {507,697.4343,-1230.9486,16.5063,298.7916}, {545,723.9850,-1121.5535,18.1450,333.9010}, {536,666.8468,-467.6579,16.0734,90.8623}, {560,668.1161,-546.2436,16.0413,89.4239}, {540,912.2176,-996.2035,38.1402,7.5764}, {482,-1758.3512,910.7219,24.5923,269.8633}, {547,981.8715,-917.3546,41.5443,88.0589}, {550,1188.4082,-925.1859,42.8590,277.5563}, {400,-1699.4597,1035.9624,45.0934,91.6588}, {405,1450.2,-937.1,36.2,269.6909}, //116 {492,2148.3257,-1175.2518,24.1959,269.6909}, {507,-1786.7155,1205.1598,24.7812,178.8758}, {545,-1716.5907,1350.4829,6.8346,44.2506}, {540,2348.2910,-1167.9983,27.3637,323.1586}, {482,2502.0388,-1134.9507,39.1953,150.9506}, {547,-2166.4534,1251.1536,27.2650,1.0352}, {550,2853.1858,-1326.8011,11.1511,278.9301}, {551,-2040.4761,1107.7072,53.4166,89.8473}, {533,2796.9031,-1567.2024,10.6386,272.4041}, {482,2813.2175,-1673.0276,9.6638,2.3369}, {547,2827.6736,-1703.9755,9.7308,77.2896}, {550,2809.3872,-1837.2391,9.7398,268.9880}, {551,-2438.0784,1341.1190,7.6988,84.5107}, {566,2411.5386,-2134.7576,13.9352,0.7795}, {554,1389.7467,-2695.9370,13.4164,121.1818}, {405,783.1359,-1601.8208,13.2577,270.9069}, {554,782.7205,-1619.3584,13.2653,93.0550}, {426,923.0841,-1361.7990,13.0324,181.1371}, {445,-2644.6819,1342.3251,6.8981,270.7903}, {492,1174.6599,-922.1939,43.1189,276.8927}, {507,1363.0210,-1288.3124,13.2839,180.1453}, {545,1363.2723,-1260.8229,13.0954,179.5841}, {540,2383.5627,-1927.9207,13.2436,359.6281}, {482,-2635.0933,1377.1693,6.8692,180.6415}, {547,-2513.1277,1209.6135,37.1506,270.2610}, {550,2396.6899,-1966.8123,13.2793,271.6838}, {551,2391.1135,-1500.6554,23.6355,269.7709}, {560,-2273.8679,921.3550,66.3095,0.6336}, {405,-2153.0779,953.6602,79.7271,180.3209}, {554,334.3586,-1789.3143,4.6717,178.7722}, {426,343.8039,-1808.9827,4.3090,181.8368}, {445,-2129.2915,787.6183,69.3346,87.1812}, {492,646.4998,-1771.6411,13.2905,348.7706}, {507,-2151.9524,395.9857,34.9395,180.7696},//150 {545,-2078.8027,265.4074,35.1672,268.0607}, {540,-2034.8334,178.8471,28.5682,269.9615}, {482,438.9431,-1625.4088,25.7951,0.1850}, {547,453.3896,-1494.3240,30.7917,7.7513}, {550,487.6469,-1516.2312,20.0235,185.5384}, {551,300.5775,-1490.8882,24.3748,235.1359}, {560,-2180.1323,41.8542,35.1717,269.9866}, {566,524.0590,-1375.0093,15.8231,193.3626}, {405,598.9131,-1519.1414,14.8214,180.4083}, {554,-2488.1333,-133.0336,25.3507,90.1064}, {426,-2499.5225,45.0666,25.2641,89.9251}, {445,-2636.7976,-55.4094,4.0630,359.9826}, {492,-2718.5115,-124.4794,4.3505,269.1428}, {507,736.8572,-1337.1550,13.3140,271.3832}, {545,856.7003,-1363.1852,13.4093,179.8542},//165 {482,888.1506,-1659.2727,13.3296,1.2414}, {547,879.1024,-1669.2560,13.3305,180.5853}, {550,-2134.1443,-453.9576,35.1479,95.0877}, {551,920.4441,-1823.0966,12.3452,84.1821}, {560,-1639.3900,-567.5057,13.9530,80.1994}, {566,1062.6744,-1757.9412,13.1956,89.0572}, {405,-2265.1501,148.9554,34.8837,269.3405}, {554,1081.8948,-1629.9564,13.4064,90.0880}, {426,981.7941,-1523.5115,13.3379,267.2751}, {445,1014.7464,-1434.4586,13.3292,266.3129}, {492,492.6386,-1555.3513,17.1462,213.1128},//DERBY {507,2684.6,-2019.0,13.3 ,0.8777}, {545,1096.1,-1379.9,13.3,270.1909},//178 {540,-2743.6772,-303.1675,7.1422,49.0919},//179 DERBY {482,1182.2568,-1219.2407,18.4163,0.5578}, {547,1260.9978,-1187.1921,23.3559,183.3606}, {550,1331.9304,-1081.3899,24.9941,90.4092}, {551,1284.8755,-1525.5013,13.3451,269.4388},//near taxi {560,1279.1887,-1539.2032,13.3201,94.8070},//near taxi {566,1275.9120,-1646.7448,13.3273,267.2669}, {405,-2200.5999,-2503.3606,30.4213,321.7648}, {554,1253.9153,-1833.3832,13.1734,175.3692}, {426,1279.2875,-1814.4156,13.1657,93.6385}, {445,-2205.5234,-2439.3523,30.4224,51.1660}, {492,1479.9131,-1737.8813,13.2418,269.5805}, {507,1508.1047,-1737.7089,13.2418,270.0250}, {545,1618.0411,-1891.1044,13.3278,0.3364}, {540,1623.7291,-1892.7234,13.3307,180.0126}, {482,-2079.6389,-2303.7983,30.3466,322.7155}, {547,1743.5837,-1844.6041,13.3557,180.3384}, {550,1838.1904,-1871.3842,13.1703,358.5452}, {551,-1557.8568,-2741.5632,48.3481,144.5150}, {560,1777.1376,-1910.0310,13.1681,91.0725}, {566,-16.7753,-2503.6228,36.4593,121.7103}, {566,1981.0780,-1986.3513,13.3275,2.1479}, {405,218.4485,-173.3024,1.3809,90.0117}, {554,199.5586,-155.4912,1.3827,0.3471}, {426,1984.7471,-2066.7776,13.1625,359.7226}, {445,1938.0565,-2086.8459,13.3429,268.3414}, {492,318.4840,-86.0588,2.0804,90.9324}, {507,-113.9556,-39.4382,2.9209,164.0464}, {545,115.3321,-217.1147,1.3028,89.7911}, {540,1748.0751,-2084.2090,13.3324,0.4337}, {482,1560.5026,-2260.5457,13.3258,268.7398}, {547,1461.6943,-1505.1688,13.2541,356.9007}, {550,1426.4930,-1402.3170,13.1800,181.0290}, {551,1435.0645,-1325.6835,13.2580,270.9400}, {560,1513.9486,-1272.5691,14.2685,181.0697}, {566,1583.7561,-1338.7435,16.1896,359.8619}, {405,-2760.5156,-312.1838,7.1557,3.8747},//DERBY {554,-2766.6875,-281.2887,7.1613,180.1256},//DERBY {426,1430.2316,-1054.8555,22.8693,359.3625}, {445,1574.1168,-1036.7643,23.6151,145.6786}, //{492,1617.6676,-1009.8663,23.6052,356.8697}, {507,1645.3188,-1036.5238,23.6027,0.7258}, {545,485.9422,-1467.4543,18.3154,157.6833},//DERBY {540,1770.4874,-1060.9886,23.6658,179.2750}, {482,-2781.4741,-281.6054,7.1515,181.0279},//DERBY {547,1653.1766,-1134.8994,23.6110,178.6835}, {550,1617.3746,-1132.8293,23.6117,91.7300}, {551,1790.0190,-1292.9065,13.2653,267.2964}, {560,1754.3009,-1476.8170,13.2402,269.6320}, {554,2003.3417,-1121.4993,26.3879,357.4926}, {426,2084.2334,-1170.0986,24.2042,91.8975}, {492,2229.2278,-1345.4033,23.6892,93.3009}, {507,2332.5684,-1362.4845,23.7297,358.1198}, {545,2384.1567,-1275.6326,23.9198,101.6528}, {540,2432.3149,-1226.0785,24.9941,17.9805}, {482,2426.9612,-1224.4158,25.0000,202.7159}, {547,2438.4309,-1321.6925,24.1225,269.7535}, {551,2612.9702,-1262.6970,48.2461,269.4752}, {560,2659.4529,-1428.4343,30.1790,266.5051}, {566,2659.7053,-1422.6743,30.1714,89.8159}, {405,2485.5313,-1556.1823,23.7478,178.8338}, {554,2478.7664,-1555.7006,23.7226,183.6043}, {426,2605.3967,-1365.8829,34.6461,359.9891}, {445,2754.7136,-1373.0253,40.1154,91.4169}, {492,2717.3662,-1468.0308,30.0894,1.0298}, {507,2816.7195,-1449.4285,15.9549,268.9106}, {545,2816.9937,-1441.5880,15.9544,90.7779}, {540,2681.9016,-1673.3879,9.1290,0.5605}, {482,2442.5845,-1642.7507,13.1644,180.3454}, {547,2361.3120,-1674.6146,13.2505,357.4959}, {550,2298.3535,-1633.7542,14.3849,80.8107}, {551,2297.9077,-1639.9464,14.4352,94.4292}, {560,2255.4045,-1664.5736,15.1304,74.6898}, {566,2234.1057,-1726.9386,13.1665,271.7536}, {405,2319.3833,-1716.6823,13.2518,359.8540}, {554,2474.5105,-1755.9194,13.2522,270.5967}, {426,2501.8213,-1754.2794,13.1208,176.4916}, //= 255 {445,2489.1560,-1952.6886,13.1366,178.1629}, {492,2495.4326,-1953.2922,13.1299,356.5514}, {507,2306.7168,-1989.6796,13.2639,184.8385}, {482,2056.1807,-1904.7751,13.2502,2.2910}, {550,2064.9871,-1919.1674,13.2504,180.8575}, {551,1886.4812,-2022.9338,13.0964,179.4265}, {560,1824.8976,-2019.8374,13.0875,272.5273}, {566,1942.1669,-1862.6425,13.2679,264.5590}, {405,1923.9409,-1795.5616,13.0877,90.0886}, {554,1807.0905,-1571.7120,13.1659,125.1048}, {426,1809.9016,-1676.0603,13.2422,180.7589}, {445,1809.6266,-1653.3402,13.2365,180.6530}, {492,1809.7056,-1660.3019,13.2380,180.6262}, {507,1978.4003,-1675.0157,15.6741,269.7336}, {545,1974.8230,-1693.5488,15.6741,92.1162}, {540,1929.2253,-1584.6954,13.2700,185.5542}, {482,1731.9725,-1590.8959,13.1630,77.7249}, {547,1721.5776,-1589.2834,13.1526,80.9057}, {550,1695.1428,-1519.2667,13.1671,0.7121}, {551,1694.7080,-1501.7454,13.1675,357.8150} }; mi se pot strica oldcar la masini sau ceva?
-
dami id tau pe PM sa iti dau eu un pawno bun :P
-
Ma refer pe cont emanuelll :P
-
Foloseste Streamerul lui icognito http://www.sa-mp.ro/forum/index.php/topic,7004.0.html
-
ai bat streamer.inc in include? ai scris su in script #include<streamer> ? ai dat recompile?
-
Daca playerul care iai dat ban are ip dynamic (schimbator) si el se deconecteaza de la net si se conecteaza iar i se va schimba ip si trebuie sa dai /unbanip cu ipul care il are pe moment :P
-
if(strcmp(cmd,"/unbanip",true)==0) { if(PlayerInfo[playerid][pAdmin] >= 1337) { tmp = strtok(cmdtext,idx); if(!strlen(tmp)) { SendClientMessage(playerid,COLOR_GRAD1,"USAGE: /unbanip [players ip]"); return 1; } format(string,sizeof(string),"unbanip %s",tmp); SendRconCommand(string); SendRconCommand("reloadbans"); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "IP-ul %s a fost unbannat",tmp); SendClientMessage(playerid, COLOR_LIGHTRED, string); } return 1; } Incearco :|
-
Salut. Am si eu comanda la hitman /hundercover if(strcmp(cmd, "/hundercover", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) { if(PlayerInfo[playerid][pRank] < 1) { SendClientMessage(playerid, COLOR_GREY, " You need to be Rank 1 or Higher for this action!"); return 1; } new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hitmanundercover list then /hitmanundercover [skin id]"); return 1; } if (PlayerToPoint(3,playerid,1105.9569,-292.9882,73.9851) || PlayerInfo[playerid][pLocal] != 255) { if(strcmp(x_nr,"list",true) == 0) { SendClientMessage(playerid, COLOR_YELLOW, "_________Skin_List_________"); SendClientMessage(playerid, COLOR_GRAD1, "1: Agent 2: Staff"); SendClientMessage(playerid, COLOR_GRAD2, "3: Gay man 4: Hustler"); SendClientMessage(playerid, COLOR_GRAD3, "5: Random Baiat 6: Swampy Hippy"); SendClientMessage(playerid, COLOR_GRAD4, "7: Hotel Waiter (Girl) 8: Random Fata"); SendClientMessage(playerid, COLOR_GRAD5, "9: Michelle Cannes 10: Katie Zhan"); SendClientMessage(playerid, COLOR_GRAD6, "0: Go back to Hitman uniform"); return 1; } else if(strcmp(x_nr,"1",true) == 0) { SetPlayerSkin(playerid, 165); SetPlayerColor(playerid, COLOR_WHITE); SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as a Agent."); return 1; } else if(strcmp(x_nr,"2",true) == 0) { SetPlayerSkin(playerid, 217); SetPlayerColor(playerid, COLOR_WHITE); SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as a Staff member."); return 1; } else if(strcmp(x_nr,"3",true) == 0) { SetPlayerSkin(playerid, 170); SetPlayerColor(playerid, COLOR_WHITE); SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as a Gay man."); return 1; } else if(strcmp(x_nr,"4",true) == 0) { SetPlayerSkin(playerid, 21); SetPlayerColor(playerid, COLOR_WHITE); SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as a Hustler."); return 1; } else if(strcmp(x_nr,"5",true) == 0) { SetPlayerSkin(playerid, 60); SetPlayerColor(playerid, COLOR_WHITE); SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as a Random guy."); return 1; } else if(strcmp(x_nr,"6",true) == 0) { SetPlayerSkin(playerid, 72); SetPlayerColor(playerid, COLOR_WHITE); SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as a Swampy Hippy."); return 1; } else if(strcmp(x_nr,"7",true) == 0) { SetPlayerSkin(playerid, 152); SetPlayerColor(playerid, COLOR_WHITE); SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as a Hotel Waiter."); return 1; } else if(strcmp(x_nr,"8",true) == 0) { SetPlayerSkin(playerid, 233); SetPlayerColor(playerid, COLOR_WHITE); SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as a Random girl."); return 1; } else if(strcmp(x_nr,"9",true) == 0) { SetPlayerSkin(playerid, 192); SetPlayerColor(playerid, COLOR_WHITE); SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as Michelle Cannes."); return 1; } else if(strcmp(x_nr,"10",true) == 0) { SetPlayerSkin(playerid, 193); SetPlayerColor(playerid, COLOR_WHITE); SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as Katie Zahn."); return 1; } else if(strcmp(x_nr,"0",true) == 0) { if(PlayerInfo[playerid][pRank] == 1) { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string,sizeof(string), "* %s don't undercover.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerSkin(playerid, 165); } else if(PlayerInfo[playerid][pRank] > 1) { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string,sizeof(string), "* %s don't undercover.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerSkin(playerid, 165); } } } else { SendClientMessage(playerid, COLOR_GRAD2, "For HITMAN: You are not in the Hitman Spawn !"); return 1; } } else { SendClientMessage(playerid, COLOR_WHITE, "You are not a Hitman Assasin"); return 1; } } return 1; } si vrea sa adaug si asta in ea, cand da /hundercover sa nu ii se mai vada numele la cap if (strcmp("/nameoff", cmdtext, true) == 0) { for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false); GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5); return 1; }
-
Ce eroare da?
-
Cauta pe google YSI.inc, downloadezi si bagi fisierul in pawno-include
