Would my code hide names?
#1

Hello, I've scripted this code using YCMD, Would it hide Name tags?

pawn Код:
YCMD:nameoff(playerid, params[], help)
{
    #pragma unused help
    #pragma unused params
    for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false);
    GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
    return 1;
}
YCMD:nameon(playerid, params[], help)
{
    #pragma unused help
    #pragma unused params
    for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, true);
    GameTextForPlayer(playerid, "~W~Nametags ~R~on", 5000, 5);
    return 1;
}
Reply


Messages In This Thread
Would my code hide names? - by MusicBeast - 12.10.2011, 13:40
Re: Would my code hide names? - by Kingunit - 12.10.2011, 14:10
Re: Would my code hide names? - by MusicBeast - 12.10.2011, 15:22

Forum Jump:


Users browsing this thread: 2 Guest(s)