Number of arguments does not match definition
#1

I get this error at the red line

warning 202: number of arguments does not match definition

Код:
COMMAND:bf(playerid, params[])
{
	if(GetPlayerHealth(playerid) > 1)
	{
        if(PlayerInfo[playerid][pDm] > 0)
        {
            SendClientMessage(playerid, -1, "{43FAFA}[DM] {FFFFFF}You can't do this in the DM.");
        }
        else
        {
            ResetPlayerWeapons(playerid);
            SetPlayerHealth(playerid, 100);
            SetPlayerArmour(playerid, 50);
        }
	}
	else
	{
		SendClientMessage(playerid, -1, "{C5F252}[DM] {FFFFFF}Your health must be above 1 to join a deathmatch.");
	}
	return 1;
}
Reply


Messages In This Thread
Number of arguments does not match definition - by Sellize - 26.08.2013, 09:00
Re: Number of arguments does not match definition - by Misiur - 26.08.2013, 09:08
Re: Number of arguments does not match definition - by Sellize - 26.08.2013, 09:12

Forum Jump:


Users browsing this thread: 1 Guest(s)