The return value of a function with y_hooks
#2

OnPlayerUpdate always returns 1 (or the value you specified in callback). When the player is AFK that callback is not called at all (so it isn't returning 0 or 1). You are just basically calling a normal function.
Reply


Messages In This Thread
The return value of a function with y_hooks - by Dutheil - 21.06.2015, 20:17
Re: The return value of a function with y_hooks - by IstuntmanI - 21.06.2015, 20:24
Re : The return value of a function with y_hooks - by Dutheil - 21.06.2015, 20:28

Forum Jump:


Users browsing this thread: 1 Guest(s)