Timers
#1

Alright,

Hey Guys,
Right now im trying to set it up so when a player connects a timer is run for that only player.
How do I get a timer which only works for playerid instead of the whole server?
Reply
#2

Use SetTimerEx but I need to say that it isnt effective to use so much timers, its better to use one timer which loops through all players
Reply
#3

Assign the timer to a variable like so:

Code:
gTimer[playerid] = SetTimerEx( "KillPlayer",5000, 0, "i", playerid );
or something like that
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)