[HELP] Proxdetector doesn't work
#1

Hello I made proxdetector when someone player write on /b chat for example

/b hello

and when another player stand little further from that player he see that text in gray coolor ok that work but I noticed this I spawn on my house on vinewood and another player was on ls airport and I write on /b hello and he saw that text but he was on ls airoport far far away from me what's the problem?


pawn Код:
stock ProxDetectorElse(Float:radi,playerid,string[],color,elsecolor)
{
    new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid,x,y,z);
    foreach(Player,i)
    {
        if(!IsPlayerConnected(i))continue;
        if(IsPlayerInRangeOfPoint(i,radi,x,y,z))
        {
            SendClientMessage(i,color,string);
        }
        else
        {
            SendClientMessage(i,elsecolor,string);
        }
    }
}
Reply


Messages In This Thread
[HELP] Proxdetector doesn't work - by Luca12 - 07.01.2014, 08:49
Re: [HELP] Proxdetector doesn't work - by Voxel - 07.01.2014, 08:58
Re: [HELP] Proxdetector doesn't work - by Luca12 - 07.01.2014, 09:03
Re: [HELP] Proxdetector doesn't work - by Voxel - 07.01.2014, 09:13
Re: [HELP] Proxdetector doesn't work - by Luca12 - 07.01.2014, 09:18
Re: [HELP] Proxdetector doesn't work - by Voxel - 07.01.2014, 09:25
Re: [HELP] Proxdetector doesn't work - by Luca12 - 07.01.2014, 09:29
Re: [HELP] Proxdetector doesn't work - by Voxel - 07.01.2014, 09:48
Re: [HELP] Proxdetector doesn't work - by Luca12 - 07.01.2014, 10:29
Re: [HELP] Proxdetector doesn't work - by BlackSirrah239 - 07.01.2014, 11:41

Forum Jump:


Users browsing this thread: 1 Guest(s)