Jump to content

Restrict class in player spawn menu


tim260

Recommended Posts

Posted
Of course that it's possible, but you'll need to edit the script to do this.

I suggest you to learn about ACL functions in the wiki: https://wiki.multitheftauto.com/wiki/Ser ... _functions

yeah i know i think to use this

isObjectInACLGroup 

but im a noob scripter just started learning and dont know wich file to edit

EDIT: there are many files in that zip in my eyes nothing makes sense yk, so if aynbody could help me

Posted

It's pretty easy actually, I've done it for one of my clients, you should add a new value called 'acl' then on s_main.lua you check if the spawn is public or not, if not then you check the ACL name.

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...