Jump to content

Player ban on death?


rusztamas

Recommended Posts

Posted

Hi guys! I had just started LUA scripting, and i don't know if this possible:

If somebody dies, ban the player, for example permanently, and add his name to the Ban list. I already wrote the script, and put the resource name "bannondeath" to acl.xml to the group "console", and "admin".

Posted
addEventHandler("onPlayerWasted",root,function() banPlayer(source) end) 

Just off the top of my head, not tested.

Retired

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...