./BlackBird# Posted November 8, 2012 Posted November 8, 2012 you can get Position from Admin Panel or getElementPosition
./BlackBird# Posted November 8, 2012 Posted November 8, 2012 ok and what you i write at RaderArea Required Arguments leftX: A float representing the left 'x' position of the radar area. bottomY: A float representing the bottom 'y' position of the radar area. sizeX: A float representing the width of the radar area. sizeY: A float representing the height of the radar area. r: An integer representing the amount of red in the color. Maximum value is 255 g: An integer representing the amount of green in the color. Maximum value is 255 b: An integer representing the amount of blue in the color. Maximum value is 255 a: An integer representing the amount of alpha in the color. This allows setting the transparency of the radar area. 255 is opaque and 0 is transparent.
./BlackBird# Posted November 8, 2012 Posted November 8, 2012 i need a example write here local hillRadar = createRadarArea ( -2183.5678710938, 705.67950439453, 40, -40, 0, 255, 0, 175 )
[S.K] Posted November 8, 2012 Author Posted November 8, 2012 wait it dont work look this local pArea4 = createRaderArea( -125.00333404541, 36.885246276855, 40, -40, 0, 255, 0, 175 ) local pCuboid4 = createColCuboid( -125.00333404541, 13.713443756104, 3.1171875, 10.0, 10.0, 10.0
./BlackBird# Posted November 8, 2012 Posted November 8, 2012 wait it dont work look this local pArea4 = createRaderArea( -125.00333404541, 36.885246276855, 40, -40, 0, 255, 0, 175 ) local pCuboid4 = createColCuboid( -125.00333404541, 13.713443756104, 3.1171875, 10.0, 10.0, 10.0 in line 2 you need ) like that local pArea4 = createRadarArea( -125.00333404541, 36.885246276855, 40, -40, 0, 255, 0, 175 ) local pCuboid4 = createColCuboid( -125.00333404541, 13.713443756104, 3.1171875, 10.0, 10.0, 10.0)
Anderl Posted November 8, 2012 Posted November 8, 2012 Just saying: Best way to do things is to learn, there are examples of all functions in the wiki. Don't expect us to keep making things for you just because you say you're a 10 years old kid and that you can't understand Lua.
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