Doom8890 Posted August 15, 2014 Share Posted August 15, 2014 Hi, quick question When I create extra large radar areas using createRadarArea() function they appear on the player map(F11) but not on the radar in the corner but when I reduce X and Y size of the area they work as intended. Does this function have size limit or perhaps limit on amount of areas you can create with it? I even tried to narrow it down myself but the size limit seems to shift, maybe it's due to RAM limit(but I somehow doubt it, radar areas don't seem to take much RAM at all). Well, fill me in with infos! Link to comment
Castillo Posted August 15, 2014 Share Posted August 15, 2014 By any chance, you used a negative value in the size? Link to comment
Doom8890 Posted August 15, 2014 Author Share Posted August 15, 2014 By any chance, you used a negative value in the size? No, I didn't. I have few of these large zones and none of them shows on radar, however if I decrease size to like 100, they show normally. createRadarArea(71.701171875,-2789.59765625,2924.03125,1937.36816406,255,0,0,115) --LS zone main Link to comment
Castillo Posted August 15, 2014 Share Posted August 15, 2014 Where is the size in there? I only see R, G, B, A. Link to comment
Doom8890 Posted August 15, 2014 Author Share Posted August 15, 2014 Where is the size in there? I only see R, G, B, A. I don't know what you mean by that, these are the coordinates. -- original function according to the wiki radararea createRadarArea ( float leftX, float bottomY, float sizeX, float sizeY, [ int r = 255, int g = 0, int b = 0, int a = 255, element visibleTo = getRootElement() ] ) -- these are my parameters, only I didn't put them in variable, I used them directly as you can see on the previous post leftX= 71.701171875, bottomY = -2789.59765625 sizeX = 2924.03125 sizeY = 1937.36816406 255,0,0 = rgb colors and the last parameter is alpha Link to comment
Castillo Posted August 15, 2014 Share Posted August 15, 2014 Nevermind my last post, I confused the arguments somehow. Link to comment
Doom8890 Posted August 15, 2014 Author Share Posted August 15, 2014 Nevermind my last post, I confused the arguments somehow. Could this be MTA bug? Should I report it as such? Link to comment
Castillo Posted August 16, 2014 Share Posted August 16, 2014 I think you should, since I tried it and it also happens on my server. Link to comment
Doom8890 Posted August 16, 2014 Author Share Posted August 16, 2014 create multi areas? It works that way but who knows how many areas you can create before the problem starts. Can somebody give me link to report the bug? I found https://bugs.mtasa.com/main_page.php but I don't see 'submit bug' button. Maybe I'm just blind. Link to comment
Castillo Posted August 16, 2014 Share Posted August 16, 2014 Login, then go to "New issues", and then the button will appear. 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