xXMADEXx Posted November 18, 2012 Share Posted November 18, 2012 Hey guys, i have a turf area for my DM zone... The area (colored) will show in F11, but not on the radar. The little radar in the bottom left it will not show on, just F11. Please help. Code: (server) local hillArea = createColRectangle ( -2982.314453125, -2989.0341796875, 1800, 2100 ) local hillRadar = createRadarArea ( -2982.314453125, -2989.0341796875, 1800, 2100, 200, 0, 0, 150 ) -- add hill_Enter as a handler for when a player enters the hill area function hill_Enter ( thePlayer, matchingDimension ) -- announce to everyone that the player entered the hill if (getElementType(thePlayer) == "player") then outputChatBox( 'You have entered the Dethmatch Zone!', thePlayer, 255, 0, 0 ) setRadarAreaFlashing ( hillRadar, true ) end end addEventHandler ( "onColShapeHit", hillArea, hill_Enter ) -- add hill_Enter as a handler for when a player leaves the hill area function hill_Exit ( thePlayer, matchingDimension ) -- check if the player is not dead if (getElementType(thePlayer) == "player") then if isPedDead ( thePlayer ) ~= true then -- if he was alive, announce to everyone that the player has left the hill outputChatBox ( 'You have left the Dethmatch Zone!', thePlayer, 255, 0, 0 ) setRadarAreaFlashing ( hillRadar, true ) end end end addEventHandler ( "onColShapeLeave", hillArea, hill_Exit ) Link to comment
myonlake Posted November 18, 2012 Share Posted November 18, 2012 I don't think there's nothing we can do about it. Perhaps file a Mantis Bug Tracker report for MTA Developers to fix the bug. I can also see a bug in the rendering of radar areas, it simply makes it very weird looking and never stays where it should. 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