Papana
Membru-
Posts
334 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by Papana
-
trebui sa definesc ceva dar nu stiu cum la un lucru la onplayerdeath if(PlayerInfo[killerid][pMember] == 5 || PlayerInfo[killerid][pLeader] == 5) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { new killer[MAX_PLAYER_NAME]; GetPlayerName(killerid, killer, sizeof(killer)); format(string,128,"* %s Yakuza Family a omorat pe %s Triads Family si a primit 2500$.",killer,name); SendYAKUZAMessage(COLOR_1GREEN, string); scoreteam1 += 1; format(string,128,"* %s Triads Family a fost omorat de %s Yakuza Family.",name,killer); SendTRIADSMessage(COLOR_1BLUE, string); GivePlayerMoney(killerid, 2500); scoreteam2 -= 1; return 1; } } am definit cu new apoi la forward nu reusesc am pus la forward asa forward SendYAKUZAMessage(color, string); forward scoreteam1(); forward SendTRIADSMessage(color, string); forward scoreteam2(); si imi da erori: D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(5409) : error 035: argument type mismatch (argument 2) D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(5410) : error 076: syntax error in the expression, or invalid function call D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(5410) : warning 215: expression has no effect D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(5412) : error 035: argument type mismatch (argument 2) D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(5414) : error 076: syntax error in the expression, or invalid function call D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(5414) : warning 215: expression has no effect D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(55602) : warning 203: symbol is never used: "scoreteam1" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(55602) : warning 203: symbol is never used: "scoreteam2" va rog sa imi ziceti nu prea am inteles cum sa definesc stiu,dar nu prea bine :-?
-
uite accept ownablecar dar tu nu intelegei ca imi trebuie si v buy .. .... else if(strcmp(x_job,"ownablecar",true) == 0) { if(OwnableCarOffer[playerid] < 999) { if(OwnableCarID[playerid] == 0) { return 1; } if(OwnableCarPrice[playerid] == 0 || OwnableCarPrice[playerid] > 1500001) { return 1; } if(OwnableCarID[playerid] == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey]) { } else if(OwnableCarID[playerid] == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey2]) { } else if(OwnableCarID[playerid] == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey3]) { } else { SendClientMessage(playerid, COLOR_GREY, " Offer is no longer available"); return 1; } if(GetPlayerCash(playerid) >= OwnableCarPrice[playerid]) { if(IsPlayerConnected(OwnableCarOffer[playerid])) { GetPlayerName(OwnableCarOffer[playerid], giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pPcarkey] == 999) { if(GetPlayerVehicleID(OwnableCarOffer[playerid]) == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey]) { PlayerInfo[playerid][pPcarkey] = PlayerInfo[OwnableCarOffer[playerid]][pPcarkey]; PlayerInfo[OwnableCarOffer[playerid]][pPcarkey] = 999; } else if(GetPlayerVehicleID(OwnableCarOffer[playerid]) == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey2]) { PlayerInfo[playerid][pPcarkey] = PlayerInfo[OwnableCarOffer[playerid]][pPcarkey2]; PlayerInfo[OwnableCarOffer[playerid]][pPcarkey2] = 999; } else if(GetPlayerVehicleID(OwnableCarOffer[playerid]) == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey3]) { PlayerInfo[playerid][pPcarkey] = PlayerInfo[OwnableCarOffer[playerid]][pPcarkey3]; PlayerInfo[OwnableCarOffer[playerid]][pPcarkey3] = 999; } else { SendClientMessage(playerid, COLOR_GREY, " Vehicle seller needs to be at his car !"); return 1; } format(string, sizeof(string), "* You bought a car for $%d from %s.",OwnableCarPrice[playerid],giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "* %s has bought your car for $%d.",sendername,OwnableCarPrice[playerid]); SendClientMessage(OwnableCarOffer[playerid], COLOR_WHITE, string); RemovePlayerFromVehicle(OwnableCarOffer[playerid]); GivePlayerCash(playerid, - OwnableCarPrice[playerid]); GivePlayerCash(OwnableCarOffer[playerid], OwnableCarPrice[playerid]); strmid(CarInfo[OwnableCarID[playerid]][cOwner], sendername, 0, strlen(sendername), 999); } else if(PlayerInfo[playerid][pPcarkey2] == 999) { if(GetPlayerVehicleID(OwnableCarOffer[playerid]) == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey]) { PlayerInfo[playerid][pPcarkey2] = PlayerInfo[OwnableCarOffer[playerid]][pPcarkey]; PlayerInfo[OwnableCarOffer[playerid]][pPcarkey] = 999; } else if(GetPlayerVehicleID(OwnableCarOffer[playerid]) == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey2]) { PlayerInfo[playerid][pPcarkey2] = PlayerInfo[OwnableCarOffer[playerid]][pPcarkey2]; PlayerInfo[OwnableCarOffer[playerid]][pPcarkey2] = 999; } else if(GetPlayerVehicleID(OwnableCarOffer[playerid]) == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey3]) { PlayerInfo[playerid][pPcarkey2] = PlayerInfo[OwnableCarOffer[playerid]][pPcarkey3]; PlayerInfo[OwnableCarOffer[playerid]][pPcarkey3] = 999; } else { SendClientMessage(playerid, COLOR_GREY, " Vehicle seller needs to be at his car !"); return 1; } format(string, sizeof(string), "* You bought a car for $%d from %s.",OwnableCarPrice[playerid],giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "* %s has bought your car for $%d.",sendername,OwnableCarPrice[playerid]); SendClientMessage(OwnableCarOffer[playerid], COLOR_WHITE, string); RemovePlayerFromVehicle(OwnableCarOffer[playerid]); GivePlayerCash(playerid, - OwnableCarPrice[playerid]); GivePlayerCash(OwnableCarOffer[playerid], OwnableCarPrice[playerid]); strmid(CarInfo[OwnableCarID[playerid]][cOwner], sendername, 0, strlen(sendername), 999); } else if(PlayerInfo[playerid][pPcarkey3] == 999) { if(GetPlayerVehicleID(OwnableCarOffer[playerid]) == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey]) { PlayerInfo[playerid][pPcarkey3] = PlayerInfo[OwnableCarOffer[playerid]][pPcarkey]; PlayerInfo[OwnableCarOffer[playerid]][pPcarkey] = 999; } else if(GetPlayerVehicleID(OwnableCarOffer[playerid]) == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey2]) { PlayerInfo[playerid][pPcarkey3] = PlayerInfo[OwnableCarOffer[playerid]][pPcarkey2]; PlayerInfo[OwnableCarOffer[playerid]][pPcarkey2] = 999; } else if(GetPlayerVehicleID(OwnableCarOffer[playerid]) == PlayerInfo[OwnableCarOffer[playerid]][pPcarkey3]) { PlayerInfo[playerid][pPcarkey3] = PlayerInfo[OwnableCarOffer[playerid]][pPcarkey3]; PlayerInfo[OwnableCarOffer[playerid]][pPcarkey3] = 999; } else { SendClientMessage(playerid, COLOR_GREY, " Vehicle seller needs to be at his car !"); return 1; } format(string, sizeof(string), "* You bought a car for $%d from %s.",OwnableCarPrice[playerid],giveplayer); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "* %s has bought your car for $%d.",sendername,OwnableCarPrice[playerid]); SendClientMessage(OwnableCarOffer[playerid], COLOR_WHITE, string); RemovePlayerFromVehicle(OwnableCarOffer[playerid]); GivePlayerCash(playerid, - OwnableCarPrice[playerid]); GivePlayerCash(OwnableCarOffer[playerid], OwnableCarPrice[playerid]); strmid(CarInfo[OwnableCarID[playerid]][cOwner], sendername, 0, strlen(sendername), 999); } else { SendClientMessage(playerid, COLOR_GREY, " You already have 3 cars ! "); return 1; } DateProp(playerid); DateProp(OwnableCarOffer[playerid]); OnPropUpdate(); OnPlayerUpdateEx(playerid); OnPlayerUpdateEx(OwnableCarOffer[playerid]); OwnableCarOffer[playerid] = 999; OwnableCarID[playerid] = 0; OwnableCarPrice[playerid] = 0; GameTextForPlayer(playerid, "~w~Congratulations~n~Don't forget to /v park it!", 5000, 3); SendClientMessage(playerid, COLOR_GRAD2, "Congratulations on your new purchase!"); SendClientMessage(playerid, COLOR_GRAD2, "Type /vehiclehelp to view the vehicle manual!"); return 1; } else { SendClientMessage(playerid, COLOR_GREY, " Car seller is Offline !"); return 1; } } } else { SendClientMessage(playerid, COLOR_GREY, " No-one offerd you any Ownable Car !"); return 1; } } si /v sellto si /v sellto2 else if(strcmp(x_nr,"sellto",true) == 0) { if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey]) { GetPlayerName(playerid, sendername, sizeof(sendername)); new ownvehkey; if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey]) { ownvehkey = PlayerInfo[playerid][pPcarkey]; } else { return 1; } if(strcmp(sendername, CarInfo[ownvehkey][cOwner], true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "HINT: /v sellto [playerid/PartOfName] [price]"); return 1; } giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(ProxDetectorS(8.0, playerid, giveplayerid)) { if(PlayerInfo[giveplayerid][pPcarkey] == 999) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "HINT: /v sellto [playerid/PartOfName] [price]"); return 1; } new price; price = strval(tmp); if(price < 1 || price > 1500000) { SendClientMessage(playerid, COLOR_GREY, " Price not lower then 1 and not higher then 1500000. "); return 1; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* You offerd %s to buy your car for $%d .", giveplayer, price); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "* Car Owner %s offered you to buy his/her car for $%d (type /accept ownablecar) to buy.", playername, price); SendClientMessage(giveplayerid, COLOR_WHITE, string); OwnableCarOffer[giveplayerid] = playerid; OwnableCarID[giveplayerid] = ownvehkey; OwnableCarPrice[giveplayerid] = price; return 1; } else { SendClientMessage(playerid, COLOR_GREY, "That player already have a car! "); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " Player is not near you ! "); return 1; } } } } else { SendClientMessage(playerid, COLOR_GREY, " This is not your car"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " You have to sit at your own car to sell it"); return 1; } } else if(strcmp(x_nr,"sellto2",true) == 0) { if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2]) { GetPlayerName(playerid, sendername, sizeof(sendername)); new ownvehkey; if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2]) { ownvehkey = PlayerInfo[playerid][pPcarkey2]; } else { return 1; } if(strcmp(sendername, CarInfo[ownvehkey][cOwner], true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "HINT: /v sellto [playerid/PartOfName] [price]"); return 1; } giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(ProxDetectorS(8.0, playerid, giveplayerid)) { if(PlayerInfo[giveplayerid][pPcarkey2] == 999) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "HINT: /v sellto [playerid/PartOfName] [price]"); return 1; } new price; price = strval(tmp); if(price < 1 || price > 1500000) { SendClientMessage(playerid, COLOR_GREY, " Price not lower then 1 and not higher then 1500000. "); return 1; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "* You offerd %s to buy your car for $%d .", giveplayer, price); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "* Car Owner %s offered you to buy his/her car for $%d (type /accept ownablecar) to buy.", playername, price); SendClientMessage(giveplayerid, COLOR_WHITE, string); OwnableCarOffer[giveplayerid] = playerid; OwnableCarID[giveplayerid] = ownvehkey; OwnableCarPrice[giveplayerid] = price; return 1; } else { SendClientMessage(playerid, COLOR_GREY, "That player already have a car! "); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " Player is not near you ! "); return 1; } } } } else { SendClientMessage(playerid, COLOR_GREY, " This is not your car"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " You have to sit at your own car to sell it"); return 1; } }
-
pai cheia se pune 999 si comanda /v sell am scoso am doar /v sellto la primu slot se pune 999 automat e ceva din /v buy :-?
-
daca am primu slot liber si al doilea ocupat nu merge sa cumpar masina zice c aam dar daca am al doilea liber merge .. daca le am pe mandoua libere pot cumpara 2 masini al rand fara probleme ma ajuta cineva? else if(strcmp(x_nr,"buy",true) == 0) { if(IsAnOwnableCar(idcar)) { if(PlayerInfo[playerid][pLevel] < 3) { SendClientMessage(playerid, COLOR_GREY, "You need to be level 4 to buy a vehicle!"); return 1; } if(PlayerInfo[playerid][pPcarkey] == 999) { } if(PlayerInfo[playerid][pPcarkey2] == 999) { } else { SendClientMessage(playerid, COLOR_GREY, " You already own a vehicles"); return 1; } if(CarInfo[idcar][cOwned]==1) { SendClientMessage(playerid, COLOR_GREY, "Someone already owns this car"); return 1; } if(GetPlayerCash(playerid) >= CarInfo[idcar][cValue]) { if(PlayerInfo[playerid][pPcarkey] == 999) { PlayerInfo[playerid][pPcarkey] = idcar; } else if(PlayerInfo[playerid][pPcarkey2] == 999) { PlayerInfo[playerid][pPcarkey2] = idcar; } else if(PlayerInfo[playerid][pPcarkey3] == 999) { PlayerInfo[playerid][pPcarkey3] = idcar; } else { return 1; } CarInfo[idcar][cOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(CarInfo[idcar][cOwner], sendername, 0, strlen(sendername), 999); GivePlayerCash(playerid,-CarInfo[idcar][cValue]); PlayerPlayMusic(playerid); GameTextForPlayer(playerid, "~w~Congratulations~n~Don't forget to /v park it!", 5000, 3); SendClientMessage(playerid, COLOR_GRAD2, "Congratulations on your new purchase!"); SendClientMessage(playerid, COLOR_GRAD2, "Type /carhelp to view the vehicle manual!"); DateProp(playerid); OnPropUpdate(); OnPlayerUpdateEx(playerid); TogglePlayerControllable(playerid, 1); return 1; } else { SendClientMessage(playerid, COLOR_GREY, " You don't have enough cash with you ! "); return 1; } } }
-
vreau si io sa pot face sa se salveze tuning pe masina tuningu sa raman la /v park si la /rac sau alte respawn sau cand explodeaza masina in rest la restart serve rnu ma intereseaza sa ramana
-
deci am schimbat la ShowPlayerMarkers(0); am facut in ShowPlayerMarkers(1); dar imi arata doar membri din factiuni nu si civili si cum fac sa nu arate membri hitman agency
-
cum fac la aceasta comanda sa fie normala nu tow ls sau sf si nici macar numi remorcheaza masina :| sa fie doar cand scriu /tow sa mio remorchezze if(strcmp(cmd, "/tow", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /tow [LS or SF]"); return 1; } new newcar = GetPlayerVehicleID(playerid); new x_nr[256]; x_nr = strtok(cmdtext, idx); if(strcmp(x_nr,"ls",true) == 0) { if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { if(!IsATowcar(newcar)) { if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) { if(PlayerInfo[playerid][pTow] >= 1) { PlayerInfo[playerid][pTow] -= 1; CP[playerid] = 111; SetPlayerCheckpoint(playerid, 2412.4646,-1426.3083,23.9848, 5.0); SendClientMessage(playerid, COLOR_YELLOW, "Drive to Warehouse to destroy the towed car."); } else { SendClientMessage(playerid, COLOR_GRAD1, " You cannot tow any car till PayDay."); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You dont towed a car !"); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not in a Tow Truck !"); } } } } new x_nr[256]; new newcar = GetPlayerVehicleID(playerid); x_nr = strtok(cmdtext, idx); if(strcmp(x_nr,"sf",true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16) { if(!IsATowcar(newcar)) { if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) { if(PlayerInfo[playerid][pTow] >= 1) { PlayerInfo[playerid][pTow] -= 1; CP[playerid] = 111; SetPlayerCheckpoint(playerid, 1617.2562,-2314.1616,13.5537, 5.0); SendClientMessage(playerid, COLOR_YELLOW, "Drive to Warehouse to destroy the towed car."); } else { SendClientMessage(playerid, COLOR_GRAD1, " You cannot tow any car till PayDay."); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You dont towed a car !"); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not in a Tow Truck !"); } } } return 1; } }
-
[GF/RP] erori la un fs aduagare doar la o factiune
Papana replied to Papana's question in Arhivă probleme
man nu tunecar in fs e /tunar /yes si /no alea cu tuncecar nu pot sa fac am incercat mult :@ ia fs si fal si pt pmembr si pleader la 17 te rog il vreau neaparat io nu pot -
folosesc streamer doar ca nu le aveam la public onaplayerconnect sa vad daca merge acum :-?
-
am pus 0 si nu mi le mai arata pe harta deloc SetPlayerMapIcon(playerid, 191, 271.6105,-49.8123,2.7038, 31, 0); //casa SetPlayerMapIcon(playerid, 192, 2256.7241,-43.5872,26.4814, 31, 0); //casa SetPlayerMapIcon(playerid, 193, 2198.6733,-60.4639,28.1535, 31, 0); //casa SetPlayerMapIcon(playerid, 194, 2204.9211,62.3232,28.4416, 31, 0); //casa SetPlayerMapIcon(playerid, 195, 2392.2427,-54.4672,28.1536, 31, 0); //casa SetPlayerMapIcon(playerid, 196, 2488.3237,10.5603,28.4416, 31, 0); //casa SetPlayerMapIcon(playerid, 197, 2518.6128,128.3857,27.6756, 31, 0); //casa
-
deci am pus icon map in mta si pe server nu mie le arata am mai pus unele pe acelea mi le arata acum a 2 oara cand am pus am pus multe .. si nu mi le mai arata ce are ? toate map icon: SetPlayerMapIcon(playerid, 0, 1743.1013, -1864.4586, 16.2048, 38, COLOR_YELLOW); // Spawn Point SetPlayerMapIcon(playerid, 1, 2048.352, -1900.153, 13.5538, 55, COLOR_YELLOW); // Driving School SetPlayerMapIcon(playerid, 5, 396.2429, -2074.728, 7.835938, 25, COLOR_YELLOW); // Fishing School SetPlayerMapIcon(playerid, 6, 1528.779, -1678.113, 5.890625, 30, COLOR_YELLOW); // Police Station SetPlayerMapIcon(playerid, 7, 1461.695, -1011.915, 26.84375, 52, COLOR_YELLOW); // Bank SetPlayerMapIcon(playerid, 8, 2340.4229,2458.1392,14.9688, 30, COLOR_YELLOW); // FBI SetPlayerMapIcon(playerid, 9, 1178.03, -1323.41, 14.10, 22, COLOR_YELLOW); // Hospital SetPlayerMapIcon(playerid, 10, 1480.9323,-1767.7324,18.7958, 56, COLOR_YELLOW); // CITY HALL SetPlayerMapIcon(playerid, 11, 2410.1682,-1220.7765,25.2978, 49, COLOR_YELLOW); // Pig Pen SetPlayerMapIcon(playerid, 12, 2312.9451,-1645.0206,14.8270, 49, COLOR_YELLOW); // Ten Green SetPlayerMapIcon(playerid, 13, 1831.4663,-1683.2169,13.2197, 48, COLOR_YELLOW); // Alhambra SetPlayerMapIcon(playerid, 14, 1498.4476,-1582.8242,13.5469, 50, COLOR_YELLOW); // Restaurant SetPlayerMapIcon(playerid, 15, 2468.4919,-2092.9902,13.5469, 51, COLOR_YELLOW); // Truck Place SetPlayerMapIcon(playerid, 16, 2146.3523,-2267.7498,14.2344, 18, COLOR_YELLOW); // Gun Dealer Reg. SetPlayerMapIcon(playerid, 17, 1312.4210,-898.5630,39.5781, 52, COLOR_YELLOW); // 24/7 SetPlayerMapIcon(playerid, 18, 1832.4276,-1838.3896,13.5781, 52, COLOR_YELLOW); // 24/7 SetPlayerMapIcon(playerid, 19, 1353.6860,-1757.4297,13.5078, 52, COLOR_YELLOW); // 24/7 SetPlayerMapIcon(playerid, 20, 1038.0298,-1339.9967,13.7361, 17, COLOR_YELLOW); // Jim' sticky ring SetPlayerMapIcon(playerid, 21, 2105.4858,-1806.4725,13.5547, 29, COLOR_YELLOW); // Pizza stack SetPlayerMapIcon(playerid, 22, 2229.9011,-1721.2582,13.5613, 54, COLOR_YELLOW); // Gym SetPlayerMapIcon(playerid, 23, 2244.3423,-1665.5542,15.4766, 45, COLOR_YELLOW); // Binco SetPlayerMapIcon(playerid, 24, 2577.4104,1324.6970,10.8203, 55, COLOR_YELLOW); // Driving School SetPlayerMapIcon(playerid, 25, 2066.6001,-1703.5000,14.1484, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 26, 2129.6887,-1362.1035,25.8058, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 27, 1111.5000,-974.7000,42.7656, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 28, 2486.6001,-2020.5000,13.5540, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 29, 2652.8000,-1991.1000,13.5542, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 30, 2389.3789,-1346.2415,25.0770, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 31, 1905.9000,-1113.7000,26.6641, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 32, 836.3000,-894.3000,68.7689,283, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 33, 2142.7000,-1605.5000,14.3516, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 34, 768.1000,-1696.5000,5.1554, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 35, 652.1000,-1619.9000,15.0000, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 36, 2126.9016,-1320.4999,26.6243, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 37, 1981.4976,-1682.8132,17.0537, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 38, 812.7000,-1456.6000,13.7333, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 39, 2434.8999,-1320.8000,24.8775, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 40, 2847.8000,-1309.6000,14.7276, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 41, 2486.5815,-1645.0850,14.0772, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 42, 2782.7007,-1306.3018,38.7542, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 43, 2798.0010,-1245.7739,47.2113, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 44, 1496.9000,-689.1000,95.1258, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 45, 1243.0000,-1100.9000,27.9766, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 46, 827.9000,-858.5000,70.3308, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 47, 979.6000,-676.0000,121.9763, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 48, 251.6000,-1220.9000,75.9079, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 49, 1111.5000,-741.9000,100.1329, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 50, 1468.4000,-903.7000,54.8359, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 51, 1421.8000,-884.6000,50.6266, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 52, 2147.3440,-1808.4054,16.1406, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 53, 300.2323,-1154.4406,81.3907, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 54, 937.6441,-848.0178,93.6811, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 55, 700.3375,-1060.1644,49.4217, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 56, 1378.6652,-1753.2437,14.1406, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 57, 219.4159,-1250.3492,78.3345, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 58, 2067.7800,-1731.3300,13.8762, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 59, 2013.5100,-1732.7600,14.0970, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 60, 2016.9500,-1703.4900,14.1779, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 61, 1981.2700,-1719.0900,17.0305, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 62, 1973.3700,-1560.3600,13.6389, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 63, 2172.2200,-1818.1500,16.1406, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 64, 2402.2300,-1715.9100,14.0010, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 65, 2393.1299,-1646.5200,13.9051, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 66, 2752.4600,-1962.7200,13.5469, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 67, 2786.3899,-1926.2100,13.5469, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 68, 2695.4600,-2019.6100,13.5232, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 69, 1761.2200,-2124.3999,14.0566, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 70, 1667.4399,-2107.3799,14.0723, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 71, 1872.0800,-2020.8101,13.5469, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 72, 1894.6899,-2019.8000,13.5469, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 73, 1913.4301,-1912.8300,15.2568, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 74, 1872.0800,-1913.2800,15.2568, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 75, 1853.9700,-1914.3400,15.2568, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 76, 1326.7800,-1090.1801,27.9766, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 77, 1180.4700,-1261.2000,18.8984, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 78, 852.4000,-1422.1801,13.7341, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 79, 901.8700,-1446.8900,13.6054, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 80, 986.5900,-1624.0601,14.9297, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 81, 893.6100,-1636.9200,14.9297, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 82, 2536.7161,1211.2582,14.3426, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 83, 915.2200,-1817.5200,13.3065, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 84, 281.0200,-1768.5500,4.5183, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 85, 206.4800,-1769.3900,4.3546, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 86, 298.0600,-1337.3600,53.4415, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 87, 416.3000,-1154.6100,76.6876, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 88, 645.8700,-1117.0100,44.2070, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 89, 989.8500,-828.5400,95.4686, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 90, 890.7800,-782.7600,101.3080, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 91, 809.4300,-758.6600,76.5314, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 92, 898.9300,-677.9400,116.8904, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 93, 1045.0400,-642.0500,120.1172, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 94, 1094.8300,-646.3400,113.6447, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 95, 1331.5800,-632.3400,109.1349, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 96, 1442.7200,-630.2000,95.7186, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 97, 1539.0800,-851.1400,64.3361, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 98, 2260.4299,-1019.9700,59.2898, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 99, 2459.4199,-949.3200,80.0816, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 100, 2629.1101,-1085.0601,69.6161, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 101, 2853.1201,-1365.9700,14.1641, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 102, 2387.8601,-1279.6100,25.1291, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 103, 2334.7000,-1265.3300,27.9693, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 104, 2191.8301,-1238.5500,23.9766, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 105, 2153.6201,-1242.5601,25.3557, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 106, 2000.0300,-1115.4800,27.1318, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 107, 2256.1799,-1408.3101,24.0000, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 108, 2540.9219,1225.6116,10.9586, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 109, 2529.6003,1005.1992,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 110, 2534.0664,997.8640,14.2725, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 111, 2474.2410,997.8046,14.2725, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 112, 2412.0032,1019.8802,14.2725, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 113, 2016.0724,1105.7418,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 114, 2449.1760,742.2020,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 115, 2449.6807,714.0051,11.4683, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 116, 2396.3738,691.1518,11.4531, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 117, 2369.1042,734.0637,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 118, 2316.9106,691.2471,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 119, 2256.4299,691.5512,11.4531, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 120, 2228.0950,734.4047,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 121, 2122.3550,732.0383,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 122, 2093.8733,773.6396,11.4531, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 123, 2012.6138,731.6475,11.4531, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 124, 1685.2788,2046.7834,11.4688, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 125, 1640.8978,2044.7278,11.3199, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 126, 1596.2054,2071.6702,11.3199, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 127, 1597.4929,2093.2104,11.3125, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 128, 1549.5139,2095.5408,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 129, 1495.9606,2033.6670,14.7396, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 130, 1414.5667,1997.7498,14.7396, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 131, 1366.6298,1974.2433,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 132, 1408.4337,1919.9686,11.4688, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 133, 1085.2521,2032.0836,11.4683, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 134, 1030.5897,2011.2789,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 135, 986.3755,2000.4375,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 136, 985.3979,1930.5623,11.4688, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 137, 928.2679,2006.6465,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 138, 886.7747,2046.5801,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 139, 986.5743,2272.4158,11.4609, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 140, 1032.4407,2316.0090,11.4683, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 141, 1225.9790,2584.8552,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 142, 1265.7122,2609.4929,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 143, 1325.4509,2569.3662,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 144, 1344.5581,2608.7668,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 145, 1359.5735,2567.0586,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 146, 1451.1022,2567.3794,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 147, 1513.2035,2567.5273,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 148, 1610.6278,2648.1401,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 149, 1666.9526,2609.2798,11.0549, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 150, 1579.9231,2710.5847,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 151, 1626.7052,2752.5684,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 152, 1654.9523,2803.2681,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 153, 1550.5947,2843.7935,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 154, 1735.5966,2692.8044,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 155, 1728.0580,2835.5212,14.2735, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 156, 1740.8314,2862.1792,11.3359, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 157, 1774.5490,2870.6594,14.2656, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 158, 1801.6036,2823.8538,14.2735, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 159, 1855.3630,2766.5750,14.2657, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 160, 1931.4587,2721.9749,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 161, 1992.7871,2762.4509,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 162, 2066.0425,2723.4292,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 163, 2037.2296,2662.7861,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 164, 1921.8179,2663.2610,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 165, 1909.3311,2351.7012,10.9799, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 166, 1879.5067,2291.1836,10.9799, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 167, 1966.9843,1622.9263,12.8640, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 168, 2549.2617,2202.6702,14.1161, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 169, 2591.0706,2189.8206,14.1161, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 170, 2518.3765,2033.4982,11.1633, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 171, 2557.3792,2023.1653,10.8258, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 172, 2633.9946,2018.9694,14.1161, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 173, 2649.8584,1980.2456,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 174, 2623.6465,1979.0812,14.1161, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 175, 2225.3398,2522.1736,10.8203, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 176, 2114.4744,2499.8184,14.8390, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 177, 2093.6323,2492.6616,14.8390, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 178, 2102.7793,2493.2346,14.8390, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 179, 1968.9362,2294.9976,16.4559, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 180, 1534.3551,-800.1464,72.8495, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 181, 1527.6228,-772.9481,80.5781, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 182, 1535.9012,-884.6898,57.6575, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 183, 1481.9824,-909.7766,55.0065, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 184, 1440.6243,-926.6017,39.6406, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 185, 1410.4775,-921.1989,38.4219, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 186, 252.9865,-1269.8409,74.3163, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 187, 255.0292,-1366.2627,53.1094, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 188, 794.9556,-506.7550,18.0129, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 189, 745.2000,-590.6674,18.0129, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 190, 313.6272,-121.2623,3.5354, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 191, 271.6105,-49.8123,2.7038, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 192, 2256.7241,-43.5872,26.4814, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 193, 2198.6733,-60.4639,28.1535, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 194, 2204.9211,62.3232,28.4416, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 195, 2392.2427,-54.4672,28.1536, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 196, 2488.3237,10.5603,28.4416, 31, COLOR_YELLOW); //casa SetPlayerMapIcon(playerid, 197, 2518.6128,128.3857,27.6756, 31, COLOR_YELLOW); //casa
-
[GF/RP] erori la un fs aduagare doar la o factiune
Papana replied to Papana's question in Arhivă probleme
deci imi explica ma cineva cum fac fs doar pentru factiune == 17 si in locu respectiv download fs http://solidfiles.com/d/8ed4a37dc5/ -
[GF/RP] problema comenzi doar pentru o factiune si loc
Papana replied to Papana's question in Arhivă probleme
uppp, se uita cineva am nevoie de ele .. -
Salut io pe gamemodu ce-l detin deja am case adaugatede un prieten .. si as vrea sa mai adaug io dar in property.cfg nu inteleg cum sunt puse ca mi-as face si io nu-mi dau seama din cate am inteles cam asa e o casa 2457.287597,-1054.422119,59.742198,1.200000,-3.400000,999.400024,0,0,0,0,0,0,The State,Trailer,25000,0,0,2,1,0,0,500,90,182,418,-1,-1,60,3,0 dar care e intrarea si iesirea din casa care e pretul .. si interioru si pun mai multe pentru ca nu inteleg cei acolo ca sunt unite toate :| in rand .. nu sunt aliniate sa inteleg 2457.287597,-1054.422119,59.742198,1.200000,-3.400000,999.400024,0,0,0,0,0,0,The State,Trailer,25000,0,0,2,1,0,0,500,90,182,418,-1,-1,60,3,0 2066.600097,-1703.500000,14.100000,244.500000,305.000000,999.099975,0,0,0,0,0,0,The State, Bedsit,400000,0,0,1,1,0,1,1000,0,6087,418,-1,-1,60,3,1 2129.688720,-1362.103515,25.805799,267.100006,305.000000,999.099975,0,0,0,0,0,0,The State, Bedsit,400000,0,0,2,1,0,1,50,4,3300,418,-1,-1,60,3,2 1111.500000,-974.700012,42.700000,301.299987,306.299987,1003.500000,0,0,0,0,0,0,The State, Bedsit,500000,0,0,4,1,0,1,100,1,0,418,-1,-1,60,3,3 2486.600097,-2020.500000,13.500000,344.299987,305.200012,999.099975,0,0,0,0,0,0,The State, Bedsit,200000,0,0,6,1,0,0,10,1,2009,418,-1,-1,60,3,4 2652.800048,-1991.099975,13.500000,446.100006,507.899993,1001.400024,0,0,0,0,0,0,The State,2 Habitaciones,400000,0,0,12,1,0,1,200,0,0,418,-1,-1,60,5,5 2389.378906,-1346.241455,25.076999,-42.400001,1408.199951,1084.400024,0,0,0,0,0,0,The State,3 Habitaciones Medianas,500000,0,0,8,1,0,1,10,0,1850,418,-1,-1,60,5,6
-
Pai pe unde gasesti pcarkey dublezi si tu cu pcarkey2 nu e ceva foarte greu dar iti va lua ceva timp iar sa le scoti la liber le vinzi sut tu cu /asellcar si se vor debloca automat ...
-
[GF/RP] problema comenzi doar pentru o factiune si loc
Papana replied to Papana's question in Arhivă probleme
Am mai pus o } si acum imi da :-w D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15277) : error 003: declaration of a local variable must appear in a compound block D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15277) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15277) : warning 215: expression has no effect D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15278) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15281) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15282) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15283) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15284) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15285) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15286) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15287) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15288) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15289) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15290) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15291) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15292) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15296) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15297) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15298) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15299) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15300) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15301) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15302) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15303) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15304) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15305) : error 017: undefined symbol "idcarro" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15306) : error 017: undefined symbol "idcarro" exemplu cum arata o comanda if(strcmp(cmd, "/tunecar1", true) == 0) { if (PlayerToPoint(10.0, playerid,685.2382,-1304.5352,13.6092)) { if (PlayerInfo[playerid][pLeader] > 17 || PlayerInfo[playerid][pMember] > 17) new idcarro; idcarro = GetPlayerVehicleID(playerid); if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) { AddVehicleComponent(idcarro,1046); AddVehicleComponent(idcarro,1171); AddVehicleComponent(idcarro,1149); AddVehicleComponent(idcarro,1035); AddVehicleComponent(idcarro,1147); AddVehicleComponent(idcarro,1036); AddVehicleComponent(idcarro,1040); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) { AddVehicleComponent(idcarro,1028); AddVehicleComponent(idcarro,1169); AddVehicleComponent(idcarro,1141); AddVehicleComponent(idcarro,1032); AddVehicleComponent(idcarro,1138); AddVehicleComponent(idcarro,1026); AddVehicleComponent(idcarro,1027); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) { AddVehicleComponent(idcarro,1046); AddVehicleComponent(idcarro,1153); AddVehicleComponent(idcarro,1150); AddVehicleComponent(idcarro,1054); AddVehicleComponent(idcarro,1049); AddVehicleComponent(idcarro,1047); AddVehicleComponent(idcarro,1051); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) { AddVehicleComponent(idcarro,1065); AddVehicleComponent(idcarro,1160); AddVehicleComponent(idcarro,1159); AddVehicleComponent(idcarro,1067); AddVehicleComponent(idcarro,1162); AddVehicleComponent(idcarro,1069); AddVehicleComponent(idcarro,1071); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) { AddVehicleComponent(idcarro,1064); AddVehicleComponent(idcarro,1155); AddVehicleComponent(idcarro,1154); AddVehicleComponent(idcarro,1055); AddVehicleComponent(idcarro,1158); AddVehicleComponent(idcarro,1056); AddVehicleComponent(idcarro,1062); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) { AddVehicleComponent(idcarro,1089); AddVehicleComponent(idcarro,1166); AddVehicleComponent(idcarro,1168); AddVehicleComponent(idcarro,1088); AddVehicleComponent(idcarro,1164); AddVehicleComponent(idcarro,1090); AddVehicleComponent(idcarro,1094); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) { AddVehicleComponent(idcarro,1044); AddVehicleComponent(idcarro,1174); AddVehicleComponent(idcarro,1176); AddVehicleComponent(idcarro,1042); AddVehicleComponent(idcarro,1099); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534) { AddVehicleComponent(idcarro,1126); AddVehicleComponent(idcarro,1179); AddVehicleComponent(idcarro,1180); AddVehicleComponent(idcarro,1122); AddVehicleComponent(idcarro,1101); AddVehicleComponent(idcarro,1125); AddVehicleComponent(idcarro,1123); AddVehicleComponent(idcarro,1100); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) { AddVehicleComponent(idcarro,1104); AddVehicleComponent(idcarro,1182); AddVehicleComponent(idcarro,1184); AddVehicleComponent(idcarro,1108); AddVehicleComponent(idcarro,1107); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567) { AddVehicleComponent(idcarro,1129); AddVehicleComponent(idcarro,1189); AddVehicleComponent(idcarro,1187); AddVehicleComponent(idcarro,1102); AddVehicleComponent(idcarro,1133); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420) { AddVehicleComponent(idcarro,1010); AddVehicleComponent(idcarro,1087); AddVehicleComponent(idcarro,1081); AddVehicleComponent(idcarro,1139); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400) { AddVehicleComponent(idcarro,1010); AddVehicleComponent(idcarro,1087); AddVehicleComponent(idcarro,1018); AddVehicleComponent(idcarro,1013); AddVehicleComponent(idcarro,1081); AddVehicleComponent(idcarro,1086); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401) { AddVehicleComponent(idcarro,1086); AddVehicleComponent(idcarro,1139); AddVehicleComponent(idcarro,1081); AddVehicleComponent(idcarro,1010); AddVehicleComponent(idcarro,1087); AddVehicleComponent(idcarro,1012); AddVehicleComponent(idcarro,1013); AddVehicleComponent(idcarro,1042); AddVehicleComponent(idcarro,1043); AddVehicleComponent(idcarro,1018); AddVehicleComponent(idcarro,1006); AddVehicleComponent(idcarro,1007); AddVehicleComponent(idcarro,1017); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) { ChangeVehiclePaintjob(idcarro,0); ChangeVehicleColor(idcarro, 1, 1); AddVehicleComponent(idcarro,1191); AddVehicleComponent(idcarro,1193); AddVehicleComponent(idcarro,1010); AddVehicleComponent(idcarro,1018); AddVehicleComponent(idcarro,1081); AddVehicleComponent(idcarro,1087); AddVehicleComponent(idcarro,1134); AddVehicleComponent(idcarro,1137); } else { AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); } else { SendClientMessage(playerid, COLOR_GRAD2, "Nu esti membru People Racing"); return 1; } } return 1; } am incercat sa pun la inceput asa new idcarro; dar imi da alte erori D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15280) : error 003: declaration of a local variable must appear in a compound block D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15280) : warning 215: expression has no effect D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15478) : error 029: invalid expression, assumed zero D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15493) : error 003: declaration of a local variable must appear in a compound block D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15493) : warning 215: expression has no effect D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15691) : error 029: invalid expression, assumed zero D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15706) : error 003: declaration of a local variable must appear in a compound block D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15706) : warning 215: expression has no effect D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(15904) : error 029: invalid expression, assumed zero -
pai daca adugi o adaugi ultima in cars.cfg
-
[GF/RP] problema comenzi doar pentru o factiune si loc
Papana replied to Papana's question in Arhivă probleme
am pus cum ai zis si mia dat erori D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3029) : error 004: function "GivePlayerCash" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3058) : error 004: function "GivePlayerCash" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3094) : error 004: function "SafeResetPlayerWeapons" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3095) : error 004: function "SafeGivePlayerWeapon" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3122) : error 004: function "SafeResetPlayerWeapons" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3645) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3657) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3669) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3681) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3685) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3697) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3701) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3705) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3709) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3713) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3717) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3721) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3725) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3737) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3741) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3745) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3749) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3753) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3765) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3769) : error 004: function "PlayerToPoint" is not implemented D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\gamemodes\eGamer.pwn(3773) : error 004: function "PlayerToPoint" is not implemented -
deci vreau o comanda sa fiept factiunea 17 si locu : 685.2382,-1304.5352,13.6092 if(strcmp(cmd, "/tunecar1", true) == 0) { if (PlayerToPoint(10.0, playerid,685.2382,-1304.5352,13.6092)){} if (PlayerInfo[playerid][pLeader] > 17 || PlayerInfo[playerid][pMember] > 17) { SendClientMessage(playerid, COLOR_GRAD2, "Nu esti membru People Racing"); return 1; } new idcarro; idcarro = GetPlayerVehicleID(playerid); if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) { AddVehicleComponent(idcarro,1046); AddVehicleComponent(idcarro,1171); AddVehicleComponent(idcarro,1149); AddVehicleComponent(idcarro,1035); AddVehicleComponent(idcarro,1147); AddVehicleComponent(idcarro,1036); AddVehicleComponent(idcarro,1040); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) { AddVehicleComponent(idcarro,1028); AddVehicleComponent(idcarro,1169); AddVehicleComponent(idcarro,1141); AddVehicleComponent(idcarro,1032); AddVehicleComponent(idcarro,1138); AddVehicleComponent(idcarro,1026); AddVehicleComponent(idcarro,1027); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) { AddVehicleComponent(idcarro,1046); AddVehicleComponent(idcarro,1153); AddVehicleComponent(idcarro,1150); AddVehicleComponent(idcarro,1054); AddVehicleComponent(idcarro,1049); AddVehicleComponent(idcarro,1047); AddVehicleComponent(idcarro,1051); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) { AddVehicleComponent(idcarro,1065); AddVehicleComponent(idcarro,1160); AddVehicleComponent(idcarro,1159); AddVehicleComponent(idcarro,1067); AddVehicleComponent(idcarro,1162); AddVehicleComponent(idcarro,1069); AddVehicleComponent(idcarro,1071); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) { AddVehicleComponent(idcarro,1064); AddVehicleComponent(idcarro,1155); AddVehicleComponent(idcarro,1154); AddVehicleComponent(idcarro,1055); AddVehicleComponent(idcarro,1158); AddVehicleComponent(idcarro,1056); AddVehicleComponent(idcarro,1062); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) { AddVehicleComponent(idcarro,1089); AddVehicleComponent(idcarro,1166); AddVehicleComponent(idcarro,1168); AddVehicleComponent(idcarro,1088); AddVehicleComponent(idcarro,1164); AddVehicleComponent(idcarro,1090); AddVehicleComponent(idcarro,1094); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) { AddVehicleComponent(idcarro,1044); AddVehicleComponent(idcarro,1174); AddVehicleComponent(idcarro,1176); AddVehicleComponent(idcarro,1042); AddVehicleComponent(idcarro,1099); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534) { AddVehicleComponent(idcarro,1126); AddVehicleComponent(idcarro,1179); AddVehicleComponent(idcarro,1180); AddVehicleComponent(idcarro,1122); AddVehicleComponent(idcarro,1101); AddVehicleComponent(idcarro,1125); AddVehicleComponent(idcarro,1123); AddVehicleComponent(idcarro,1100); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) { AddVehicleComponent(idcarro,1104); AddVehicleComponent(idcarro,1182); AddVehicleComponent(idcarro,1184); AddVehicleComponent(idcarro,1108); AddVehicleComponent(idcarro,1107); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567) { AddVehicleComponent(idcarro,1129); AddVehicleComponent(idcarro,1189); AddVehicleComponent(idcarro,1187); AddVehicleComponent(idcarro,1102); AddVehicleComponent(idcarro,1133); AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); ChangeVehiclePaintjob(idcarro, 0); ChangeVehicleColor(idcarro, 1, 1); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420) { AddVehicleComponent(idcarro,1010); AddVehicleComponent(idcarro,1087); AddVehicleComponent(idcarro,1081); AddVehicleComponent(idcarro,1139); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400) { AddVehicleComponent(idcarro,1010); AddVehicleComponent(idcarro,1087); AddVehicleComponent(idcarro,1018); AddVehicleComponent(idcarro,1013); AddVehicleComponent(idcarro,1081); AddVehicleComponent(idcarro,1086); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401) { AddVehicleComponent(idcarro,1086); AddVehicleComponent(idcarro,1139); AddVehicleComponent(idcarro,1081); AddVehicleComponent(idcarro,1010); AddVehicleComponent(idcarro,1087); AddVehicleComponent(idcarro,1012); AddVehicleComponent(idcarro,1013); AddVehicleComponent(idcarro,1042); AddVehicleComponent(idcarro,1043); AddVehicleComponent(idcarro,1018); AddVehicleComponent(idcarro,1006); AddVehicleComponent(idcarro,1007); AddVehicleComponent(idcarro,1017); } if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) { ChangeVehiclePaintjob(idcarro,0); ChangeVehicleColor(idcarro, 1, 1); AddVehicleComponent(idcarro,1191); AddVehicleComponent(idcarro,1193); AddVehicleComponent(idcarro,1010); AddVehicleComponent(idcarro,1018); AddVehicleComponent(idcarro,1081); AddVehicleComponent(idcarro,1087); AddVehicleComponent(idcarro,1134); AddVehicleComponent(idcarro,1137); } else { AddVehicleComponent(idcarro,nitro); AddVehicleComponent(idcarro,rodawire); AddVehicleComponent(idcarro,suspensao); } return 1; } ma ajuta cineva?
-
[GF/RP] erori la un fs aduagare doar la o factiune
Papana replied to Papana's question in Arhivă probleme
la o comanda de exemplu if(strcmp(cmd, "/tunecar3", true) == 0) { if(IsAMember(playerid)) { if (PlayerToPoint(30.0, playerid,685.2382,-1304.5352,13.6092) if (PlayerInfo[playerid][pLeader] > 17 || PlayerInfo[playerid][pMember] > 17) { SendClientMessage(playerid, COLOR_GRAD2, "Nu esti membru People Racing"); return 1; } } e bine cum am pus -
[GF/RP] erori la un fs aduagare doar la o factiune
Papana replied to Papana's question in Arhivă probleme
frate am icnercat cu comenzi sa fac dar degeaba tot lqa oricine merge :| si sunt aproape sigur ca am facut cum trb :@ te rog fa si mie nu cre\d ca dureazxa mult daca sti :| -
[GF/RP] erori la un fs aduagare doar la o factiune
Papana replied to Papana's question in Arhivă probleme
pai o sa bag in gm atunci dar unde pun ce e la public OnFilterScriptInit() si public OnFilterScriptExit() unde le pun ca astea sunt pentru filescript :| si cine poate sa imi faca si mie comenzile dirert pentru factiunea 17 si cu locu aici 685.2382,-1304.5352,13.6092 io nu reusesc am incercat la alte comenzi .. va rog frumos :X -
deci am pus la o factiune am un fs de tuning si am pus la comenzi sa fie doar la o factiune people racing imi da niste erori D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(297) : error 017: undefined symbol "PlayerInfo" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(297) : warning 215: expression has no effect D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(297) : error 001: expected token: ";", but found "]" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(297) : error 029: invalid expression, assumed zero D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(297) : fatal error 107: too many error messages on one line si cum fac sa pot folosi comenzile doar intrun loc ? if(strcmp(cmdtext, "/yes", true) == 0) if(PlayerInfo[playerid][pMember] == 17 && PlayerInfo[playerid][pLeader] == 17) { SendClientMessage(playerid, COLOR_GREY, " Nu esti membru People Racing !"); return 0; } { new playerstate = GetPlayerState(playerid); if(playerstate == PLAYER_STATE_DRIVER) { return ModCar(playerid); } else { return SendClientMessage(playerid, COLOR_RED, "[ERROR] You cannot modify/tune a car unless you are the driver."); } } if(strcmp(cmdtext, "/tunar", true) == 0) if(PlayerInfo[playerid][pMember] == 17 && PlayerInfo[playerid][pLeader] == 17) { SendClientMessage(playerid, COLOR_GREY, " Nu esti membru People Racing !"); return 0; } { new playerstate = GetPlayerState(playerid); if(playerstate == PLAYER_STATE_DRIVER) { return ModCar(playerid); } else { return SendClientMessage(playerid, COLOR_RED, "[ERROR] You cannot modify/tune a car unless you are the driver."); } } if(strcmp(cmdtext, "/no", true) == 0) if(PlayerInfo[playerid][pMember] == 17 && PlayerInfo[playerid][pLeader] == 17) { SendClientMessage(playerid, COLOR_GREY, " Nu esti membru People Racing !"); return 0; } { SendClientMessage(playerid, COLOR_RED, "Your Car wont be tuned."); } return 0; } imi dati un exemplu ? am adaugat new PlayerInfo[MAX_PLAYERS][pInfo]; si tot imi da altele D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(58) : error 017: undefined symbol "pInfo" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(58) : error 009: invalid array size (negative, zero or out of bounds) D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(300) : error 017: undefined symbol "pLeader" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(314) : warning 225: unreachable code D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(315) : error 017: undefined symbol "pLeader" D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(329) : warning 225: unreachable code D:\Diverse\Gamemode sa-mp\RPG.ConGame.Ro\filterscripts\tuningcarv1.1.pwn(330) : error 017: undefined symbol "pLeader" P dar io am enum pInfo { pMember, pLember, };
-
bravo mia folosit mia reusit pacat la mine cu masini ca nu e la fel sa vad cum fac :-? am facut ceva sa vad daca am reusit :X
-
Deci vreau sa fac pe srver cand un membru/leader dintr-o mafie omoara alt player din alta mafie cel omor sa i se scada 5 k de ex si ce-l care la omorat sa i dea 5k si invers vreau si io exemplu pentru 2 factiuni dupa pot face si io multumesc
