The whole debate over player-textdraws not needing arrays..
#5

Exactly my point, ******. People create a few textdraws on player connect - thus them having the same IDs. I guess you don't need an array for the textdraws that are always created for a player, but that doesn't change the fact that they CAN be different for each player.


Quote:
Originally Posted by Drebin
Посмотреть сообщение
So what is you final conclusion now? Is there a [MAX_PLAYER] array needed or not?!
In most cases. As I just said in this post, if a player-textdraw is ALWAYS created for a player (created under OnPlayerConnect and never destroyed) then you don't need an array.

(NOTE: Player-textdraws are automatically destroyed on disconnect).


Quote:
Originally Posted by Roko_foko
Посмотреть сообщение
You can't proof this by only one example. Maybe it accidently finished in this way. There wouldn't be debate if there didn't exist a problem, don't you think? If you are right, why others, who claim textdraws need arrays, can't find mistakes in their codes. ( I would underline that there are many of them, not just few )
1. I can. Why are more needed?
2. Computers don't do things 'accidentally', they do what you instruct them to do.
3. There's a debate because some people are (frankly) stupid (no offense).
4. People that don't use an array and don't have a mistake are just 'lucky'.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)