Help with this commands
#4

Could also be done using this:
Код:
new bool:NameTag[MAX_PLAYERS];

CMD:name(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    if(NameTag[playerid] == false)
    {
    ShowPlayerNameTagForPlayer(playerid, i, true);
    GameTextForPlayer(playerid, "~W~Nametags ~g~On", 5000, 5);
    NameTag[playerid] = true;
    }else{
    ShowPlayerNameTagForPlayer(playerid,i,false);
    GameTextForPlayer(playerid, "~W~Nametags ~r~off", 5000, 5);
    NameTag[playerid] = false;
    }
    return 1;
}
Reply


Messages In This Thread
Help with this commands - by Face9000 - 24.03.2012, 10:24
Re: Help with this commands - by antonio112 - 24.03.2012, 10:28
Re: Help with this commands - by Face9000 - 24.03.2012, 10:29
AW: Help with this commands - by peugeot - 24.03.2012, 10:32
Re: AW: Help with this commands - by antonio112 - 24.03.2012, 10:38
AW: Help with this commands - by peugeot - 24.03.2012, 11:48

Forum Jump:


Users browsing this thread: 2 Guest(s)