Hiding wrong player?
#2

What about:

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    SetPlayerMarkerForPlayer(i,playerid,0xFFFFFF00);
}
NOTE: Didn't tested!

EDIT: Fully command.

pawn Код:
CMD:rco_hide(playerid, params[])
{
    if(IsPlayerAdmin(playerid))
    {
        SendClientMessage(playerid, COLOR_GREEN, "[PR0-RCON]Hiding you from radar...");
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            SetPlayerMarkerForPlayer(i,playerid,0xFFFFFF00);
        }
    }
    else
    {
        SendClientMessage(playerid, -1, "SERVER:Unknown command");
    }
    return 1;
}
Reply


Messages In This Thread
Hiding wrong player? - by [p3]pr0t0typ3 - 09.09.2012, 17:58
Re: Hiding wrong player? - by RedJohn - 09.09.2012, 18:12
Re: Hiding wrong player? - by Dizzle - 09.09.2012, 18:28
Re: Hiding wrong player? - by HuSs3n - 09.09.2012, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)