Is this a good idea?
#10

Quote:
Originally Posted by iPLEOMAX
Посмотреть сообщение
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.
I didn't see your Timer. LAWL srry.
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: 1 Guest(s)