12.03.2009, 11:43
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
This code shows the warning, if(PlayerToPoint(1995.5, 1518.0, 2006.0, 1569.0))
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;
}


, Float:y, Float:z)