How to know if a player is near another player
#5

Its exactly the same what we showed him.:
pawn Код:
stock ProxDetector(Float:radi, playerid, string[],color)
{
    new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid,x,y,z);
    for(new player;player<MAX_PLAYERS;player++)
    {
        if(!IsPlayerConnected(playerid))continue;
        if(IsPlayerInRangeOfPoint(playerid,radi,x,y,z))SendClientMessage(player,color,string);
    }
}
Reply


Messages In This Thread
How to know if a player is near another player - by T_Boy - 29.12.2012, 09:11
Re : How to know if a player is near another player - by DaRk_RaiN - 29.12.2012, 09:16
Re: How to know if a player is near another player - by Faisal_khan - 29.12.2012, 09:17
Re: How to know if a player is near another player - by Mado - 29.12.2012, 09:21
Re: How to know if a player is near another player - by Faisal_khan - 29.12.2012, 09:24
Re: Re : How to know if a player is near another player - by T_Boy - 29.12.2012, 09:52

Forum Jump:


Users browsing this thread: 1 Guest(s)