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

I am having a problem with a weapon saver,the system saves the weapons and puts them into the players .ini,then when i relog it spawns them back,the problem is when i set a timer (I want to set a timer that will save the weapon's ammo and the guns on you.) sometimes when i log it removes the weapons,i guess it is because the timer starts before the player gets the weapons,then i want the timer to have a little delay.

OnPlayerSpawn()
SetTimer("saveweapon",1000,1);

I don't want to change the SetTimer time,i just want it to have a delay before the player gets the weapons.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)