Erobos Posted June 20, 2014 Share Posted June 20, 2014 Hello MTA scripters! Ok so i just recently got the MTA DayZ server files and people seem to like it. To the point where they have asked to rent bases! But now they want security, and I am having problems creating a script that: If a player isn't on the permission list and tries to enter the base he will be teleported back outside a short distance. Please, even nudge me in the right direction because I just started scripting. Link to comment
_DrXenon Posted June 20, 2014 Share Posted June 20, 2014 createMarker -- around the base ( or a colShape) "onMarkerHit" setElementPosition(hitElement,x,y,z) -- teleport him somewhere else out of the marker. 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