Posts: 377
Threads: 78
Joined: Dec 2009
Quote:
Originally Posted by Kitten
pawn Код:
if (strcmp("/nameoff", cmdtext, true) == 0) { for(new i = 0; i < MAX_PLAYERS; i++) { ShowPlayerNameTagForPlayer(playerid, i, false); } GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5); return 1; } if (strcmp("/nameon", cmdtext, true) == 0) { for(new i = 1; i < MAX_PLAYERS; i++) { ShowPlayerNameTagForPlayer(playerid, i, true); } GameTextForPlayer(playerid, "~W~Nametags ~G~on", 5000, 5); return 1; }
EDIT: this is one of my old codes in my freeroam gamemodes.
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer
|
Ohh, Thanks a lot for this help! I'll use it!
Reply @ the other replies: I won't steal anything mate

, I prefer to learn.