Jump to content

Spawn enterable for a ACL group only


Recommended Posts

search for element model of Yakuza here: http://wiki.multitheftauto.com/wiki/All_Skins_Page

open s_main.lua in your spawn menu resource.

after line 18, add this line:

if skin.modelId == number_here and not isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(client)), aclGetGroup ( "Admin" ) ) then spawn = false end 

Note that you need to replace 'number_here' with the element model of the Yakuza skin and 'Admin' acl name with the acl name u want

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