SA-MP Forums Archive
Whats the problems with ProxDetector - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Whats the problems with ProxDetector (/showthread.php?tid=427623)



Whats the problems with ProxDetector - yaron0600 - 02.04.2013

When I compile I get this error : ProxDetector Thats happense because what ? I've added new faction to my server...


Re: Whats the problems with ProxDetector - DiGiTaL_AnGeL - 02.04.2013

What error?


Re: Whats the problems with ProxDetector - yaron0600 - 02.04.2013

Everytime this is when I add something too hard so thats the error : Undefind Symbol ProxDetector... Whats the problerm there ?!


Re: Whats the problems with ProxDetector - BodyBoardVEVO - 02.04.2013

GIVE ALL ERROR

pawn Код:
 



Re: Whats the problems with ProxDetector - glbracer - 02.04.2013

Not sure how to help you without the errors, try putting this in.
pawn Код:
stock ProxDetector(playerid, color, string[], Float:range)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    foreach(Player, i)
    {
        if(IsPlayerInRangeOfPoint(i, range, x, y, z) && GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid) && GetPlayerInterior(i) == GetPlayerInterior(playerid)) {
            SendClientMessage(i, color, string);
        }
    }
    return 1;
}