Deadmau5 Posted January 22, 2012 Posted January 22, 2012 I have a big problem... I made a new group, thats name is "Owner"... So, i added the acl "Admin" to it "Admin"> But i can't use /spectate oder set a next map ingame Please help! //EDIT: It's the race gamemode...
Gr0x Posted January 22, 2012 Posted January 22, 2012 Open race config in adminpanel > resources tab, and add line "Owner" to the Admin Group, or something like this.
Deadmau5 Posted January 22, 2012 Author Posted January 22, 2012 Tyyy Works now And to make a command not available for a... moderator i do "command.redo" allow="false"> right? any way to disallow SETNICK?
bandi94 Posted January 22, 2012 Posted January 22, 2012 yes i know this probblem i have it to they can't bk in race script if a check on /spectate and next map how to fix it : 1. search for "onClientRequestSpectate" in racce_server.lua in that function you will find this line "if not g_GameOptions.stealthspectate or not isPlayerInACLGroup(player, g_GameOptions.admingroup) then" now ad 1 more check for your group name and you got "if not g_GameOptions.stealthspectate or not isPlayerInACLGroup(player, g_GameOptions.admingroup) or not isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(player)), aclGetGroup ( "Owner" ) ) then" and now the "Owner" group can spectate 2. setNext map search for " addCommandHandler('nextmap', " in racevoting_server.lua you will find a function and this line "if not _TESTING and not isPlayerInACLGroup(player, g_GameOptions.admingroup) then" now again ad 1 more check and you got "if not _TESTING and not isPlayerInACLGroup(player, g_GameOptions.admingroup) and not isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(player)), aclGetGroup ( "Owner" ) ) then " and now Owner group can set next map
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