Whats the problems with ProxDetector
#5

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;
}
Reply


Messages In This Thread
Whats the problems with ProxDetector - by yaron0600 - 02.04.2013, 14:00
Re: Whats the problems with ProxDetector - by DiGiTaL_AnGeL - 02.04.2013, 14:10
Re: Whats the problems with ProxDetector - by yaron0600 - 02.04.2013, 14:53
Re: Whats the problems with ProxDetector - by BodyBoardVEVO - 02.04.2013, 14:55
Re: Whats the problems with ProxDetector - by glbracer - 02.04.2013, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)