ahmedo01 Posted February 27, 2015 Share Posted February 27, 2015 How can i change default interiors system to be restricted to groups or team? Link to comment
Addlibs Posted February 27, 2015 Share Posted February 27, 2015 Open the server sided script file of /resources/[gameplay]/interiors, find onMarkerHit and then add a check - if the player's team name matches the team name specified in the XML (by checking the relative element data) or if none is specified, allow him to enter. You would also need to look where the interior makers are created and add a line that stores the value retrieved xmlNodeGetAttribute when looking for XML attribute which should contain the team to lock to. 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