11.06.2014, 09:24
Hello i'm in making of implementing an hotdog job into my script. this is the error
Код:
C:\Users\Dylans\Desktop\newupdate.pwn(45916) : error 010: invalid function or declaration
Код:
CMD:hotdog(playerid, params[]) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 588) { HotDog[playerid] = 1; new name[MAX_PLAYER_NAME], string[256]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "{0000FF}[RgX:INFO]{FF0000}%s {FFFFFF}is now a Hotdog Delivery.", name ); SendClientMessageToAll(-1, string); SetPlayerCheckpoint(playerid, 804.1773,-1455.8715,13.1253,10); SendClientMessage(playerid, -1,"{00FFFF}Job{FFFFFF}: Follow the red markers"); } SendClientMessage(playerid, -1,"{CE0000}You have to be on a Hotdogs car to start the job!"); } return 1; }