Jump to content

kill command


TorNix~|nR

Recommended Posts

Hello guys, I have a kill command script, it works fine, but it bugs

you can use /kill many times, I want to disable the /kill while its on progress

help?

addCommandHandler('kill',
function(kill)
    setTimer(killPed, 10000, 1, kill)
    setElementFrozen (kill, true)
end
)

function Respawn (kill)
	setElementFrozen (kill, false)
end
addEventHandler ("onPlayerRespawn", kill, respawn)

 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...