Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Linear Mode
The return value of a function with y_hooks
IstuntmanI
High-roller
Posts: 1,801
Threads: 27
Joined: Mar 2009
Reputation:
0
#2
21.06.2015, 20:24
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.
Find
Reply
«
Next Oldest
|
Next Newest
»
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
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help