Name Tags
#9

pawn Код:
ShowNameTags(1);//this makes them show
pawn Код:
ShowNameTags(0;//this hides them

to make a command to show and hide them use this.

pawn Код:
}
  if(strcmp(cmdtext, "/nametagon", true)==0)
    {
        for(new i = 0; i < MAX_PLAYERS; i ++)
        {
             SendClientMessage(playerid, COLOR_YELLOW2, "Name Tag's Will Appear.");
        ShowPlayerNameTagForPlayer(playerid, i, 1);
        }
        return 1;
    }
  if(strcmp(cmdtext, "/nametagoff", true)==0)
    {
        for(new i = 0; i < MAX_PLAYERS; i ++)
        {
        ShowPlayerNameTagForPlayer(playerid, i, 0);
             SendClientMessage(playerid, COLOR_YELLOW2, "Name Tag's Will Be Hidden.");
        }
        return 1;
}
Reply


Messages In This Thread
Name Tags - by Antonio [G-RP] - 04.08.2009, 01:33
Re: Name Tags - by Joe Staff - 04.08.2009, 04:54
Re: Name Tags - by [LL]InstabiC - 04.08.2009, 04:57
Re: Name Tags - by Josh! - 04.08.2009, 07:40
Re: Name Tags - by MenaceX^ - 04.08.2009, 07:48
Re: Name Tags - by Antonio [G-RP] - 05.08.2009, 02:51
Re: Name Tags - by Antonio [G-RP] - 05.08.2009, 18:10
Re: Name Tags - by Sergei - 05.08.2009, 18:12
Re: Name Tags - by shady91 - 05.08.2009, 18:42
Re: Name Tags - by Antonio [G-RP] - 05.08.2009, 19:58

Forum Jump:


Users browsing this thread: 1 Guest(s)