Last active
August 31, 2022 07:22
-
-
Save ohmypxl/47866914713a0db5c7ac40f08f6c9afb to your computer and use it in GitHub Desktop.
Nametag function with beautiful for() codes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void:TogglePlayerNameTag(playerid, bool:toggle) | |
{ | |
for ( | |
new | |
targetid = 0, | |
maxPlayers = GetMaxPlayers(); | |
/* if (*/targetid < maxPlayers;/*) */ | |
ShowPlayerNameTagForPlayer( | |
playerid, | |
targetid ++, | |
toggle | |
) | |
) {/* NOP */} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE: I dont think you can use this because im creating it for artwork purposes and doesn't even fully tested to be real code. Please don't report to me when you have bugs kthxbye.