Small with a job I made
#1

So I made a Pizza Boy job, everything compiles fine, except I get this warning. Was hoping one of you would be able to spot the problem here.

Код:
C:\Users\Jay\Desktop\Envision\gamemodes\Envision.pwn(4082) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Here's the line where it is.
Код:
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 448) {//This is for the pizza boy job that's in progress
	    new rand = random(10);
	    SetPlayerCheckpoint(playerid,PizzaDelivery[rand][0],PizzaDelivery[rand][1],PizzaDelivery[rand][2]);//This is the line with the warning
		SendClientMessage(playerid, COLOR_ORANGE, "(( Deliver the pizza to the checkpoint. ))");
	}
And this is the place I'm refering the SetPlayerCheckpoint to
Код:
new Float:PizzaDelivery[10][4] = {
	{2101.41,-1812.57,13.55},
	{2087.21,-1166.44,25.42},
	{2000.29,-1119.21,26.78},
	{1906.14,-1117.91,25.66},
	{1985.40,-1718.06,15.96},
	{764.66,-1696.76,4.83},
	{739.11,-1415.46,13.51},
	{1529.78,-800.08,72.99},
	{2443.11,-1339.82,24.00},
	{2744.44,-1221.86,64.33}
};
Reply


Messages In This Thread
Small with a job I made - by Jay_Dixon - 20.05.2014, 17:36
Re: Small with a job I made - by AndySedeyn - 20.05.2014, 17:45
Re: Small with a job I made - by Jay_Dixon - 20.05.2014, 17:48
Re: Small with a job I made - by AndySedeyn - 20.05.2014, 17:49
Re: Small with a job I made - by DaniceMcHarley - 20.05.2014, 17:51
Re: Small with a job I made - by AndySedeyn - 20.05.2014, 17:52
Re: Small with a job I made - by DaniceMcHarley - 20.05.2014, 18:23

Forum Jump:


Users browsing this thread: 1 Guest(s)