Invisible command
#2

pawn Код:
CMD:nickoff(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i ++)
    {
        SetPlayerMarkerForPlayer(playerid, i, 0xFFFFFF00); // the alpha of 00 hides the marker
        ShowPlayerNameTagForPlayer(playerid, i, false);
    }
    return 1;
}

CMD:nickon(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i ++)
    {
        SetPlayerMarkerForPlayer(playerid, i, 0xFFFFFFFF); // white colour, change it to what you want to set it back to normal
        ShowPlayerNameTagForPlayer(playerid, i, true);
    }
    return 1;
}
Reply


Messages In This Thread
Invisible command - by Bulgaria - 25.09.2013, 19:49
Re: Invisible command - by DanishHaq - 25.09.2013, 19:53
Re: Invisible command - by Bulgaria - 25.09.2013, 19:56
Re: Invisible command - by DanishHaq - 25.09.2013, 19:57
Re: Invisible command - by Bulgaria - 25.09.2013, 19:58
Re: Invisible command - by DanishHaq - 25.09.2013, 19:59
Re: Invisible command - by Bulgaria - 25.09.2013, 20:03
Re: Invisible command - by Bulgaria - 25.09.2013, 20:05
Re: Invisible command - by DanishHaq - 25.09.2013, 20:07
Re: Invisible command - by Bulgaria - 25.09.2013, 20:11

Forum Jump:


Users browsing this thread: 1 Guest(s)