Spam issue
#7

pawn Код:
new bool:PlayerInPoint[MAX_PLAYERS char];
connect
pawn Код:
PlayerInPoint{playerid} = false;
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, 10.0, -111.3551, 1566.8140, 17.5715))
    {
        if(!PlayerInPoint{playerid})
        {
            PlayerInPoint{playerid} = true;
            for(new i = 0; i < MAX_PLAYERS; i++)
                if(IsPlayerConnectedEx(i))
                    if(IsGov(i) && duty[i])
                        SendClientMessageA(i,COLOR_FACTION,"[Ground Detector] We have detected a vehicle heading towards Area 51! Intercept it!");
        }
        return 1;
    }
    PlayerInPoint{playerid} = false;
    return 1;
}
Reply


Messages In This Thread
Spam issue - by Eugene. - 05.10.2013, 20:46
Re: Spam issue - by IPrototypeI - 05.10.2013, 21:02
Re: Spam issue - by Limex - 05.10.2013, 21:08
Re: Spam issue - by Eugene. - 05.10.2013, 21:28
Re: Spam issue - by IPrototypeI - 05.10.2013, 21:40
Re: Spam issue - by Patrick - 05.10.2013, 22:11
Re: Spam issue - by Jefff - 05.10.2013, 22:57
Re: Spam issue - by Mattakil - 05.10.2013, 23:00
Re: Spam issue - by Eugene. - 06.10.2013, 09:25
Re: Spam issue - by xXShadowXx - 06.10.2013, 17:33

Forum Jump:


Users browsing this thread: 1 Guest(s)