Loren_ita Posted January 31, 2010 Share Posted January 31, 2010 I want to use RadarArea function on serverside. But i don't understand the sintax. Who can write here an example? Link to comment
robhol Posted January 31, 2010 Share Posted January 31, 2010 There already is one on the wiki. Link to comment
MasterTobi Posted February 1, 2010 Share Posted February 1, 2010 https://forum.multitheftauto.com/viewtopic.php?f=91&t=26100 Link to comment
Loren_ita Posted February 1, 2010 Author Share Posted February 1, 2010 Mmmm, i don't undesrtand anyway... What i have to put on Posx and bottomY??? Link to comment
50p Posted February 2, 2010 Share Posted February 2, 2010 Anyone????? Everything is on the wiki... Syntax, parameters description, example, etc. Link to comment
Loren_ita Posted February 2, 2010 Author Share Posted February 2, 2010 ... I already know that.. but i don't understand. What type of cordinates i have to put on posx and bottomx... Link to comment
Dark Dragon Posted February 2, 2010 Share Posted February 2, 2010 what do you mean by what type? did you ever see coordinates being used? they indicate a position with 2 or 3 numbers, from -∞ till +∞ Link to comment
MasterTobi Posted February 3, 2010 Share Posted February 3, 2010 createRadarArea ( float leftX, float bottomY, float sizeX, float sizeY, [ int r = 255, int g = 0, int b = 0, int a = 255, element visibleTo = getRootElement() ] ) createRadarArea ( -905.5929,-2933.0986,3900,3500, 255, 0,0,10,source) it´s easy leftX is the Position where your radararea start << startpoint X from the Left Side your Map BottomY is the Y Point from the BottomSide your Map size X and Y is the Size your RadarArea also Leftx + SizeX and BottomY+SizeY omg nobody understand this i hope you know what i mean ^^ Link to comment
Loren_ita Posted February 3, 2010 Author Share Posted February 3, 2010 , i try to do it... 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