Posts: 2,082
Threads: 118
Joined: Jan 2010
Reputation:
0
03.08.2010, 13:25
(
Last edited by Ash.; 08/02/2011 at 08:58 PM.
Reason: I fail.
)
This is quite sad, but i realised i failed.
REMOVED.
Posts: 1,831
Threads: 69
Joined: Mar 2008
Reputation:
0
It doesn't work, however.
The time is only set when the filterscript is loaded, and unloaded. You should put the SetTime function in Timer() and add a IsPlayerConnected check in the loop; you're currently setting the time for 500 player IDs regardless if they're connected or not.
Also, SetPlayerEx is to pass arguments to the timer. You don't need to do that (and you're currently telling PAWN you're passing an integer), so just use SetTimer.