bandi94 Posted September 28, 2011 Share Posted September 28, 2011 i make a next map buy system now i search the server side funtion what get trigget when you pres's set next map on admin panel : triggerServerEvent("setNextMap_s", getLocalPlayer(), nev) now when i trigger this whit admin account its working but when a normal player buy a next map it get Warning admin/server/admin_server.lua:1424: Admin security - Client whitout admin panel rights trigged an admin panel event. ...(ip).. now how can i disable the admin security for that "setNextMap_s" event or set next map function ( if it is posible only for setNextMap for another function's to be enabled ) thx for helping Link to comment
BinSlayer1 Posted September 28, 2011 Share Posted September 28, 2011 well change the event "setNextMap_s" from where it's defined and make it ignore admin checks if a special argument is given and just triggerServerEvent with that argument from your shop system or whatever 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