(32452) : warning 202: number of arguments does not match definition - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: (32452) : warning 202: number of arguments does not match definition (
/showthread.php?tid=438876)
(32452) : warning 202: number of arguments does not match definition -
31fahmi - 22.05.2013
Guys i had this error on line 32452 but i dont know how to solve it
pawn Код:
CMD:usmc(playerid, params[])
{
if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
if(IsPlayerInRangeOfPoint(playerid, 1 -312.49, 1895.05, 34.06) && GetPlayerVirtualWorld(playerid) == 1337 || IsPlayerInRangeOfPoint(playerid, 1 -312.49, 1895.05, 34.06))// NG Duty
{
ShowPlayerDialog(playerid, NGMENU, DIALOG_STYLE_LIST, "US Marine Corps","Duty\nUniforms\nWeapons\nUndercover\nClear Suspect\nKevlar Vest\nFirst Aid Kit\nAccessories", "Select", "Cancel");
}
else
{
SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your NG lockers.");
}
}
return 1;
}
Line 32452 error
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 1 -312.49, 1895.05, 34.06) && GetPlayerVirtualWorld(playerid) == 1337 || IsPlayerInRangeOfPoint(playerid, 1 -312.49, 1895.05, 34.06))// NG Duty
Please help
Re: (32452) : warning 202: number of arguments does not match definition -
dannyk0ed - 22.05.2013
Forgot a comma
pawn Код:
1.0,-312.49, 1895.05, 34.06
Same for your other coordinate.