Is this a good idea?
#6

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
1° I think this make no sense. In that case will update the message a lot every second when g_switch is called, but it must be called with true or false at the end.
2° return true / return false, is not equal to return 1 / return 0 .
1. It does make sense only if you try to understand it.

OnPlayerUpdate will call the rest of it's functions if g_switch is true.
which means until the timer ticks after a second it won't continue.
Inshort it will make OnPlayerUpdate perform only per second but not when player is afk. (I know it cause it works.)

2. return true = return 1, return false = return 0....

I'm not here to solve my problem cause I don't have any. I just wanna see if there are better methods.
Reply


Messages In This Thread
Is this a good idea? - by iPLEOMAX - 17.09.2011, 19:17
Re: Is this a good idea? - by TheArcher - 17.09.2011, 19:18
Re: Is this a good idea? - by wouter0100 - 17.09.2011, 19:21
Re: Is this a good idea? - by iPLEOMAX - 17.09.2011, 19:22
Re: Is this a good idea? - by TheArcher - 17.09.2011, 19:24
Re: Is this a good idea? - by iPLEOMAX - 17.09.2011, 19:27
Re: Is this a good idea? - by wouter0100 - 17.09.2011, 19:28
Re: Is this a good idea? - by iPLEOMAX - 17.09.2011, 19:30
Re: Is this a good idea? - by wouter0100 - 17.09.2011, 19:31
Re: Is this a good idea? - by TheArcher - 17.09.2011, 19:32

Forum Jump:


Users browsing this thread: 7 Guest(s)