Posts: 425
Threads: 32
Joined: Mar 2009
Reputation:
0
Does there happen to be a function named "DoesPlayerHaveATimerRunning" or something like that? I need it for a server i'm making, I know there's a way of assigning a variable through every single timer, but i'd rather not do so.
Thanks,
sizeof.
EDIT: Bleh, wrong section, meant to be Scripting Discussion.
Posts: 206
Threads: 9
Joined: Aug 2007
Reputation:
0
The variable technique is really the only way of doing it unfortunately. But you could create a function called CreatePlayerTimer, which assigns an ID to the player in question using the ID of the timer, then when the timer expires, it carries out the desired affect on the player in the server with timer[playerid] set as the timer ID
Posts: 183
Threads: 23
Joined: Jul 2009
Reputation:
0
the only way to make ur own callbacks is to make an inc file and make natives of what that callback is gonna do
Posts: 424
Threads: 21
Joined: Jun 2008
Reputation:
0
1. it doesn't have to be in an include file
2. if you are making your custom functions native i might shoot you.