• SWEP Delay
    2 replies, posted
How to add a delay to a swep with a message. Example, the Jihab Bomb SWEP. How to make it so you can only explode every 2 minutes and when you try to explode it will send a message to the player "You can't do that yet"
There is already a default SWEP delay [lua]SWEP.Primary.Delay = 120[/lua] If you want to make it so the player get's a message you would have to have it check if the player has used the weapon through a function.
Primary.Delay would work, but the player dies from the explosion, and resets the delay.
Sorry, you need to Log In to post a reply to this thread.