if(IsPlayerInRangeOfPoint - help
#2

Код:
CMD:test(playerid, params[])
{
	//if(IsAdmin(playerid)==1)
	for(new i=0; i<MAX_PLAYERS; i++)
	{
	    if(IsPlayerInRangeOfPoint(i, Radius, x, y, z))
	    {
	    
	    }
	    else if(IsPlayerInRangeOfPoint(i, Radius, x1, y1, z1))
	    {
	    }
        else if(IsPlayerInRangeOfPoint(i, Radius, x2, y2, z2))
	    {
	    }
	    else
	    {
	        SendClientMessage(playerid, -1, "You got nothing!");
	    }
	}
	//else return SendClientMessage(playerid, -1, "Not allowed to use command.");
	return 1;
}
You mean like this?
Reply


Messages In This Thread
if(IsPlayerInRangeOfPoint - help - by Anak - 02.12.2012, 17:09
Re: if(IsPlayerInRangeOfPoint - help - by Mic_H - 04.01.2014, 21:55

Forum Jump:


Users browsing this thread: 2 Guest(s)