1LoL1 Posted February 27, 2015 Share 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". Link to comment
xXMADEXx Posted February 27, 2015 Share Posted February 27, 2015 Make a table of serials, and simply check if the players serial is within the table. Link to comment
1LoL1 Posted February 27, 2015 Author Share 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. Link to comment
Tekken Posted February 27, 2015 Share 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) Link to comment
1LoL1 Posted February 27, 2015 Author Share 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? 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