Mike269 Posted August 15, 2014 Share Posted August 15, 2014 Hello, how can I make script working only for admin? Example: You can fly only if you are admin etc... Link to comment
Et-win Posted August 15, 2014 Share Posted August 15, 2014 onVehicleEnter isObjectInACLGroup getElementModel Link to comment
#DRAGON!FIRE Posted August 15, 2014 Share Posted August 15, 2014 onVehicleEnter isObjectInACLGroup getElementModel ?? and use "onVehicleStartEnter" Just Check in your code : if not ( isGuestAccount( getPlayerAccount ( player ) ) ) then if ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( "Admin" ) ) ) then --- your code end end 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