Jump to content

Radar Area issues


Recommended Posts

Hi everyone, I've been trying to draw a purple box around LV with a colshape that kills anyone who tries to leave. The issue I've been having is that whenever I use the createRadarArea function, the box is only shown on the F11 map rather than the small minimap. I've tried scripting it all server-side, client-side, and a combination of both (draw map on client, draw colshape on server and vise-versa). Nothing seems to be working. Here is the code I'm using to draw the actual box on the radar (the colShape works fine, I've left that out).

  
function drawOnRadar() 
     createRadarArea( 886, 679, 2000, 2000, 255, 0, 0, 255, getRootElement()) 
end 
addCommandHandler("zone", drawOnRadar) 
  

Thanks in advance.

Link to comment

Well if the colshapes work anything like real object cols then the size limit (~255m radius) ought to be non-negotiable. Any object cols larger than that are not recognised by GTA/MTA - presumably the colshapes would work in much the same way? Perhaps you could try defining your area with more colshapes that are smaller, rather than just one huge colshape?

Link to comment

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