How to set a timer to start 20 seconds after the player spawns?
#5

Quote:
Originally Posted by Aber▲
Quote:
Originally Posted by Uniqueee
Quote:
Originally Posted by Aber▲
Create another function that sets the that timer (saveweapon). Then OnPlayerSpawn set a timer (new one) for 20 seconds that calls the function (the one you created).
Thanks
I thought about that!
Glad you got it, even I got confused in that post.
Thanks again but it didn't work..the timer starts again when OnPlayerSpawn callback runs.
I did SetClientMessage too and it printed the message,i have added a command /wep and
it shows the new weapons that the player gets when the timer is ON,and
i gave myself a weapon and checked it after 2 secs and it saved it.
I tried your code too,but still the same problem :[

EDIT:
ah lol,you put the DelayTimer in OnPlayerSpawn without any timer ;p
lemme check if your code works now.

EDIT2:
It worked,thanks!
Reply


Messages In This Thread
How to set a timer to start 20 seconds after the player spawns? - by Nakash - 11.12.2009, 11:24
Re: How to set a timer to start 20 seconds after the player spawns? - by Abernethy - 11.12.2009, 11:30
Re: How to set a timer to start 20 seconds after the player spawns? - by Nakash - 11.12.2009, 11:33
Re: How to set a timer to start 20 seconds after the player spawns? - by Abernethy - 11.12.2009, 11:34
Re: How to set a timer to start 20 seconds after the player spawns? - by Nakash - 11.12.2009, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)