manve1 Posted September 19, 2012 Share Posted September 19, 2012 i got confused of how to trigger ACL to server side so i can actually open a window on moderator rights. if you could help me, thank you EDIT: i need just an example how server side should look for triggering the ACL Link to comment
Memory Posted September 19, 2012 Share Posted September 19, 2012 You would like to ban moderators open ACL? ...\server\mods\deathmatch\ACL.xml, open through notepad, found "" ---> "" Link to comment
manve1 Posted September 19, 2012 Author Share Posted September 19, 2012 OMG, i dont want them banned, did you read? TRIGGER, not ban Link to comment
TAPL Posted September 19, 2012 Share Posted September 19, 2012 i guess you want this isObjectInACLGroup ? Link to comment
manve1 Posted September 20, 2012 Author Share Posted September 20, 2012 TAPL, everything to do with ACL is server side and i don't know how to trigger it to the client side Link to comment
TAPL Posted September 20, 2012 Share Posted September 20, 2012 TAPL, everything to do with ACL is server side and i don't know how to trigger it to the client side Easy, make the bindKey from server side, and then when you press the key check if he is moderator then trigger to client side and use guiSetVisible/guiGetVisible and showCursor. All you need is this: -- Server Side -- bindKey isObjectInACLGroup triggerClientEvent -- Client Side -- addEvent addEventHandler guiGetVisible guiSetVisible showCursor 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