23.04.2013, 22:28
Well, i'm completely lost on this, i really don't see the warning here, and i've looked over it numerous times. But i AM known to miss the smallest things, so who knows, here's the warning
(32886) : warning 202: number of arguments does not match definition
the if(IsPlayerInRangeOfPoint, is the line that's giving off the warning
(32886) : warning 202: number of arguments does not match definition
the if(IsPlayerInRangeOfPoint, is the line that's giving off the warning
Код:
CMD:guns(playerid, params[])
{
if(PlayerInfo[playerid][pGunLic] == 1)
{
if(IsPlayerInRangeOfPoint(playerid, 295.8104,-38.5144,1001.5156))
{
ShowPlayerDialog(playerid, 311, DIALOG_STYLE_LIST,"{00BFFF}Amunation", "9mm $650","Submit","Cancel");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED," You do not have a Gun License!");
return 1;
}
}
return 1;
}


