Jump to content

VIP LOGIN


enzopaul4

Recommended Posts

You'll want to make a server-sided script for this. First off, start with using the event onPlayerLogin, this will trigger an event every time a player logs in. Now that you have a player element, you can use getPlayerAccount to get the player's account and then use isObjectInACLGroup to check if that account belongs in a specific group - such as VIP.

If the player is a VIP, you then use setPlayerTeam to set the player to the team you want.

That should be all you need, you have plenty of examples on how to use the event and the functions on the wiki. :)

  • Like 1
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...