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