(32452) : warning 202: number of arguments does not match definition
#1

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
Reply
#2

Forgot a comma
pawn Код:
1.0,-312.49, 1895.05, 34.06
Same for your other coordinate.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)