Jump to content

no naked kills script


HuskeyCreates

Recommended Posts

felt the need to share it so here

 

on damage:
    if victim is wearing armor:
        if attacker isn't wearing any armor:
            victim is a player:
                cancel event
                send "&cYou cannot fight now, you need armor." to attacker
    attacker is a player:
        victim is a player:
            victim isn't wearing any armor:
                if attacker isn't wearing any armor:
                    if attacker's tool isn't air:
                        cancel event
                        send "&cYou can only punch nakeds, and only when you have no armor." to attacker
                    else:
                        execute console command "weather clear"
                else:
                    cancel event
                    send "&cYou cannot kill nakeds." to attacker

 

Link to comment
Share on other sites

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
×
×
  • Create New...