AGENT_STEELMEAT Posted December 24, 2010 Share 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. Link to comment
Castillo Posted December 24, 2010 Share Posted December 24, 2010 you mean the radar area is showing in the F11 map (aka big map) but not in mini map (radar) ? Link to comment
AGENT_STEELMEAT Posted December 24, 2010 Author Share Posted December 24, 2010 Exactly! Link to comment
Castillo Posted December 24, 2010 Share 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? Link to comment
AGENT_STEELMEAT Posted December 24, 2010 Author Share Posted December 24, 2010 I just tested that, and your right, that's the issue. anyway around that? Link to comment
Castillo Posted December 24, 2010 Share 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 Link to comment
AGENT_STEELMEAT Posted December 24, 2010 Author Share 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. Link to comment
Castillo Posted December 24, 2010 Share Posted December 24, 2010 oh i see, well then lets wait for another member that may know if its possible to fix that. Link to comment
Oz. Posted December 24, 2010 Share 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? Link to comment
AGENT_STEELMEAT Posted December 24, 2010 Author Share Posted December 24, 2010 It's not a colshape problem, its a radar area problem. Link to comment
eAi Posted December 24, 2010 Share Posted December 24, 2010 So, make a big radar area using multiple smaller ones? 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