Rocker Posted February 28, 2010 Share Posted February 28, 2010 Hi, I want to ask where to write the coordinates of the location and where to write the syntax? Link to comment
norby89 Posted February 28, 2010 Share Posted February 28, 2010 Your setZone function has 2 parameters in it, the x and y coordinates of the col circle and you have a "set_zone" command that triggers this function. To use it type "/set_zone x y" in the chatbox or "set_zone x y" in the console. For example: /set_zone 69 1337 Link to comment
Rocker Posted February 28, 2010 Author Share Posted February 28, 2010 Where is problem? Link to comment
Gamesnert Posted February 28, 2010 Share Posted February 28, 2010 Although it's nice and all you post images, just pasting your code directly into your topic makes helping you a lot easier. outputConsole ( "Syntax is: set_zone " 154 2029 " ) What are you trying to do here? I think it should be: outputConsole ( "Syntax is: set_zone [X] [Y]" ) Link to comment
Rocker Posted February 28, 2010 Author Share Posted February 28, 2010 I allright, but when i join to server so zone is nowhere. Link to comment
50p Posted February 28, 2010 Share Posted February 28, 2010 I allright, but when i join to server so zone is nowhere. You don't seem to create zones when resource starts. You only create them when commend is typed in. When you restart resource, colshapes, vehicles, objects, markers, etc. made with your script are deleted. So you have to create your zone again after you restart resource. 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