Question
#3

Quote:
Originally Posted by Gammix
Посмотреть сообщение
Well, if the number of textdraws can be changed, wheather in game by players or by users of the script; then you should use a loop.

For example, i made a server logo for my public script, i know when i release this script people might change the server logo, add or remove textdraws to my logo textdraw array. So i use loops to show and hide in the script. So i write a little note in my release thread that "if you want to change the logo, all you have to do is change array size and add textdraw code to it".
Oh that's awesome. But why many of the peoples think that it's bad to use loop just for few textdraws ?

What's the better for loop MAX_PLAYERS or GetPlayerPoolSize. T

Thanks
Reply


Messages In This Thread
Question - by Hunud - 09.02.2018, 15:17
Re: Question - by Gammix - 09.02.2018, 15:26
Re: Question - by Hunud - 09.02.2018, 15:34
Re: Question - by Gammix - 09.02.2018, 15:38
Re: Question - by Hunud - 09.02.2018, 15:48

Forum Jump:


Users browsing this thread: 2 Guest(s)