1LoL1 Posted February 27, 2015 Posted February 27, 2015 Hello, Is there any way to do that is not to ban by admin series? simply asking to serial scripts and when I want him to give it to me ban writes: "You can not ban admin".
xXMADEXx Posted February 27, 2015 Posted February 27, 2015 Make a table of serials, and simply check if the players serial is within the table.
1LoL1 Posted February 27, 2015 Author Posted February 27, 2015 Make a table of serials, and simply check if the players serial is within the table. But I think that this can not ban a player when I enter the Serial IP.
Tekken Posted February 27, 2015 Posted February 27, 2015 Try this: function returnAdminBan(thePlayer) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Admin")) then cancelEvent() end end addEventHandler("onPlayerBan", getRootElement(), returnAdminBan)
1LoL1 Posted February 27, 2015 Author Posted February 27, 2015 Try this: function returnAdminBan(thePlayer) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(thePlayer)), aclGetGroup("Admin")) then cancelEvent() end end addEventHandler("onPlayerBan", getRootElement(), returnAdminBan) And when someone does not login?
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