Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

ProxDetector problem

$
0
0
Well, i put in my script "famous" proxdetector for ranged IC Chat..

Code:

// proxdetector
stock ProxDetector(Float:radi, playerid, string[],color)
{
    new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid,x,y,z);
    foreach(Player,i)
    {
        if(IsPlayerInRangeOfPoint(i,radi,x,y,z))
        {
            SendClientMessage(i,color,string);
            }
    }
}

but it doesn't work... again we see messages all over server

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>