Script error
#1

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;
}
Reply


Messages In This Thread
Script error - by saikumar - 11.06.2014, 09:24
Re: Script error - by kesarthakur - 11.06.2014, 09:26
Re: Script error - by saikumar - 11.06.2014, 09:32
Re: Script error - by SAMProductions - 11.06.2014, 09:33
Re: Script error - by kesarthakur - 11.06.2014, 09:34
Re: Script error - by MacT - 11.06.2014, 09:39
Re: Script error - by kesarthakur - 11.06.2014, 09:43
Re: Script error - by Rittik - 11.06.2014, 09:47
Re: Script error - by MacT - 11.06.2014, 09:48

Forum Jump:


Users browsing this thread: 1 Guest(s)