Jump to content

limits on createRadarArea()


Doom8890

Recommended Posts

Posted

Hi, quick question :P

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!

Posted

By any chance, you used a negative value in the size?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
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 

Posted

Where is the size in there? I only see R, G, B, A.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
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 
  

Posted

Nevermind my last post, I confused the arguments somehow.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

I think you should, since I tried it and it also happens on my server.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Login, then go to "New issues", and then the button will appear.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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