Drakath Posted July 25, 2012 Share Posted July 25, 2012 Hi, can anyone tell me how to make timer decrease? -- This is the code function spawnOnDead(ammo, killer, weapon, bodypart) takePlayerMoney(source, deadPlayerMoney) if (killer) and (killer ~= source) then end setTimer(spawnPlayer, 3000, 1, source, 213.81648254395, 1870.0822753906, 13.140625, 0, 285) setCameraTarget(source, source) setTimer(giveWeapon, 3000, 1, source, spawnWeapon, spawnAmmo) end Link to comment
qaisjp Posted July 25, 2012 Share Posted July 25, 2012 change 3000 to whatever you want. setTimer(function, 1000 -- this is 1 second Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now