2 Annoying warnings on my /me command
#9

This is a code I found in this forum (I'm sorry I could not find the topic)
pawn Код:
stock SendRangedMessage(sourceid, color, message[], Float:range)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(sourceid, x, y, z);
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(GetPlayerVirtualWorld(sourceid) == GetPlayerVirtualWorld(i))
            {
                if(IsPlayerInRangeOfPoint(i, range, x, y, z))
                {
                    SendClientMessage(i, color, message);
                }
            }
        }
    }
    return 1;
}
It's better than ProxDetector
Reply


Messages In This Thread
2 Annoying warnings on my /me command - by R4mpage - 24.12.2013, 11:25
Re: 2 Annoying warnings on my /me command - by SilentSoul - 24.12.2013, 11:28
Re: 2 Annoying warnings on my /me command - by Sk1lleD - 24.12.2013, 11:30
Re: 2 Annoying warnings on my /me command - by R4mpage - 24.12.2013, 11:30
Re: 2 Annoying warnings on my /me command - by PrivatioBoni - 24.12.2013, 11:39
Re: 2 Annoying warnings on my /me command - by R4mpage - 24.12.2013, 11:41
Re: 2 Annoying warnings on my /me command - by Konstantinos - 24.12.2013, 11:44
Re: 2 Annoying warnings on my /me command - by R4mpage - 24.12.2013, 11:46
Re: 2 Annoying warnings on my /me command - by Sk1lleD - 24.12.2013, 11:50
Re: 2 Annoying warnings on my /me command - by R4mpage - 24.12.2013, 11:56

Forum Jump:


Users browsing this thread: 1 Guest(s)