06.04.2013, 12:45
Got this errors :
Heres the cmd :
- One more thing u fixed it after if u can to just add that in the end of that "mission" you get weapon - Spas12
Код:
d:\Users\User\Desktop\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(74204) : warning 209: function "cmd_getdeliver" should return a value d:\Users\User\Desktop\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(74206) : error 021: symbol already defined: "format" d:\Users\User\Desktop\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(74207) : error 021: symbol already defined: "SendClientMessageEx" d:\Users\User\Desktop\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(74209) : error 010: invalid function or declaration
Код:
CMD:getdeliver(playerid, params[]) { if (PlayerInfo[playerid][pJob] != 0 && PlayerInfo[playerid][pJob2] != 0) { SendClientMessageEx(playerid,COLOR_GREY," You are not working in other job already [For work for that /quitjob]"); return 1; } new vehicleid = GetPlayerVehicleID(playerid); if(!(IsADeliverCar(vehicleid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)) { SendClientMessageEx(playerid,COLOR_GREY," You need to be driving a Deliver Walton!"); return 1; } if(!(GetPlayerSkin(playerid) == 29)) { SendClientMessageEx(playerid,COLOR_GREY," You need to be in the Deliver Man uniform!"); return 1; } new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); if (!IsPlayerInRangeOfPoint(playerid, 3.0, -1713.961425, 1348.545166, 7.180452)) { SendClientMessageEx(playerid,COLOR_GREY," You are not at the Delivering pickup!"); return 1; } if(GetPVarInt(playerid, "Delivering") > 0) { SendClientMessageEx(playerid, COLOR_GREY, " You are already delivering the illeagel stuff!"); return 1; } } new szMessage[128]; format(szMessage, sizeof(szMessage), "You have picked up the Deliver for 2000$ )); SendClientMessageEx(playerid, COLOR_WHITE, szMessage); return 1; }
- One more thing u fixed it after if u can to just add that in the end of that "mission" you get weapon - Spas12