15.12.2015, 07:04
Two types of textdraws. Globals, and player based. Each player can see 1024 global and 1024 player textdraws.
Player based textdraws are only for one player, so creating 50 textdraws for one player, does not mean that you have 50 textdraws less for other players, as that textdraws are not meant for them.
TextDrawSetString belongs to global textdraw functions, and it only changes the string of the textdraw. If you want player to see that new string, you need to call TextDrawShowForPlayer or TextDrawShowForAll function (if textdraw is already shown, it will just update it).
Things specific for player are supposed to be created with Player Textdraws (like hunger, score, etc..) Things that are same for everyone like team score, server name, or just some info on screen like random messages for everyone, that is supposed to be created with global textdraws.
Also if you are so short on textdraws, create player textdraws only when you need them, and delete when you dont...
Player based textdraws are only for one player, so creating 50 textdraws for one player, does not mean that you have 50 textdraws less for other players, as that textdraws are not meant for them.
TextDrawSetString belongs to global textdraw functions, and it only changes the string of the textdraw. If you want player to see that new string, you need to call TextDrawShowForPlayer or TextDrawShowForAll function (if textdraw is already shown, it will just update it).
Things specific for player are supposed to be created with Player Textdraws (like hunger, score, etc..) Things that are same for everyone like team score, server name, or just some info on screen like random messages for everyone, that is supposed to be created with global textdraws.
Also if you are so short on textdraws, create player textdraws only when you need them, and delete when you dont...