Loren_ita Posted January 31, 2010 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?
robhol Posted January 31, 2010 Posted January 31, 2010 There already is one on the wiki. Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
MasterTobi Posted February 1, 2010 Posted February 1, 2010 https://forum.multitheftauto.com/viewtopic.php?f=91&t=26100
Loren_ita Posted February 1, 2010 Author Posted February 1, 2010 Mmmm, i don't undesrtand anyway... What i have to put on Posx and bottomY???
50p Posted February 2, 2010 Posted February 2, 2010 Anyone????? Everything is on the wiki... Syntax, parameters description, example, etc. - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
Loren_ita Posted February 2, 2010 Author 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...
Dark Dragon Posted February 2, 2010 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 +∞ Loads of fun for free! Also a lot of fun for free!
MasterTobi Posted February 3, 2010 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 ^^
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