Jump to content

How can i put private skins for admins? (or for staff)


HITMANzz

Recommended Posts

It's hard to tell because it depends how you manage spawning players. Whether they spawn every time they die or they choose their skin after they die. They select a skin on a "selection screen" or they set their skins with commands.

They best way would be to handle onPlayerSpawn and check their skin when they spawn. If the skin they spawn with is one of the skins you want to restrict you could kill them and tell them to choose different skin but if they spawn with the same skin every time (even after they die) then you'll have to modify the script which spawns them to not spawn them. You'll use hasObjectPermissionTo to check if they are admins or isObjectInACLGroup to do the same.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...