Help me D:
#1

Im trying to get a command to work in a area but its showing these Warnings

warning 213: tag mismatch
warning 202: number of arguments does not match definition

this is what the code looks like

Код:
dcmd_stunt(playerid, params[])
	{
	if(PlayerToPoint(1995.5, 1518.0, 2006.0, 1569.0))
	#pragma unused params
	{
    SetPlayerPos(playerid, stuntSpawn[random1337][0], stuntSpawn[random1337][1], stuntSpawn[random1337][2]);
		}
		else
		{
			return SendClientMessage(playerid, RED, Message(playerid, "NOT_AUTHORIZED"));
		}
	return true;
}
This code shows the warning, if(PlayerToPoint(1995.5, 1518.0, 2006.0, 1569.0))
Reply


Messages In This Thread
Help me D: - by T1CKLE - 12.03.2009, 11:43
Re: Help me D: - by Flag - 12.03.2009, 11:56

Forum Jump:


Users browsing this thread: 1 Guest(s)