AGENT_STEELMEAT Posted December 24, 2010 Posted December 24, 2010 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.
Castillo Posted December 24, 2010 Posted December 24, 2010 you mean the radar area is showing in the F11 map (aka big map) but not in mini map (radar) ?
Castillo Posted December 24, 2010 Posted December 24, 2010 thats really strange, i've made tons of radar areas and they all show up in radar too O_o Edit: maybe the zone is too big and thats the reason?
AGENT_STEELMEAT Posted December 24, 2010 Author Posted December 24, 2010 I just tested that, and your right, that's the issue. anyway around that?
Castillo Posted December 24, 2010 Posted December 24, 2010 i have no idea how you can fix that. Question: why you want to show that big RED area in the radar? for me it would suck
AGENT_STEELMEAT Posted December 24, 2010 Author Posted December 24, 2010 It's gonna be a light purple, and it covers LV. The plan is that anyone that exists that area is immediatley blown up.
Castillo Posted December 24, 2010 Posted December 24, 2010 oh i see, well then lets wait for another member that may know if its possible to fix that.
Oz. Posted December 24, 2010 Posted December 24, 2010 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?
AGENT_STEELMEAT Posted December 24, 2010 Author Posted December 24, 2010 It's not a colshape problem, its a radar area problem.
eAi Posted December 24, 2010 Posted December 24, 2010 So, make a big radar area using multiple smaller ones?
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