20.05.2014, 17:36
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.
Here's the line where it is.
And this is the place I'm refering the SetPlayerCheckpoint to
Код:
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.
Код:
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. ))"); }
Код:
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} };