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}
};
SetPlayerCheckpoint(playerid, float:x, float:y, float:z, float:size);
|
SetPlayerCheckpoint has a last parameter which defines the size of the checkpoint.
pawn Код:
|
|
Which line is 4082, if it's SetPlayerCheckPoint one then follow as the guy above said.
|
SetPlayerCheckpoint(playerid,PizzaDelivery[rand][0],PizzaDelivery[rand][1],PizzaDelivery[rand][2]);//This is the line with the warning