Is Player Behind Player
#2

This is the best way, it can't detect behind, but it will detect if they are near the player.

pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(pID, x, y, z);
if(IsPlayerInRangeOfPoint(playerid, 5, x, y, z))
{
      /* do your things here */
}
Reply


Messages In This Thread
Is Player Behind Player - by mirou123 - 02.03.2014, 17:41
Re: Is Player Behind Player - by jakejohnsonusa - 02.03.2014, 19:20
Re : Is Player Behind Player - by mirou123 - 03.03.2014, 17:07

Forum Jump:


Users browsing this thread: 1 Guest(s)