14.12.2015, 23:51
Using Global textdraws for player-specific text is asking for trouble.
These are only good when you want to show something to all players at once, like an announcement.
TextDrawSetString sets the text and updates it for all players where the textdraw is being shown.
Details like colors or font only update on your screen after using the appropriate editing functions followed by TextDrawShowForPlayer.
For player-specific text like HP, hunger, ... use playertextdraws.
You can have up to 256 of them PER PLAYER at once.
With 100 players, that's 25600 textdraws, which should be enough.
These are only good when you want to show something to all players at once, like an announcement.
TextDrawSetString sets the text and updates it for all players where the textdraw is being shown.
Details like colors or font only update on your screen after using the appropriate editing functions followed by TextDrawShowForPlayer.
For player-specific text like HP, hunger, ... use playertextdraws.
You can have up to 256 of them PER PLAYER at once.
With 100 players, that's 25600 textdraws, which should be enough.