12.02.2011, 12:58
Hello,
I and my friend discuss about Timers and he think that if I put all timers in one f-ion it work faster than an timer.
Example I have:
He thinks that better is use one f-ion instead of this example:
And put all codes into this timer f-ion. What would be better? A lot of f-ions or one f-ion with all codes. In my opinion i think that it be the same, but i'm not sure about this. So people tell me!
I and my friend discuss about Timers and he think that if I put all timers in one f-ion it work faster than an timer.
Example I have:
Код:
SetTimer( "AntiJail", 20000, true ); SetTimer( "AntiFlood", 8000, true ); SetTimer( "AntiSpeed", 1000, true ); SetTimer( "AntiJetPack", 1000, true ); SetTimer( "AntiArmour", 1000, true ); SetTimer( "AntiToggle", 1000, true ); SetTimer( "AntiWeap", 1000, true ); SetTimer( "AntiPing", 1000, true );
Код:
SetTimer( "AntiCheats", 1000, true );