rusztamas Posted February 18, 2016 Posted February 18, 2016 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".
Callum Posted February 18, 2016 Posted February 18, 2016 addEventHandler("onPlayerWasted",root,function() banPlayer(source) end) Just off the top of my head, not tested.
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