Jump to content

Col Circle


Rocker

Recommended Posts

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

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
1z3qjq8.jpg

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

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