pa3ck Posted July 31, 2014 Posted July 31, 2014 Hey! I was making an indicator / blip system and I found out that coronas are buggy, because sometimes they just won't be created. Here's my really simple code: local veh = getPedOccupiedVehicle ( localPlayer ) local ind1 = createMarker ( 0, 0, 0, "corona", 0.1, 255, 65, 0 ) attachElements ( ind1, veh, -0.85, 2.48, -0.33 ) local ind2 = createMarker ( 0, 0, 0, "corona", 0.1, 255, 65, 0 ) attachElements ( ind2, veh, 0.85, 2.48, -0.33 ) local ind3 = createMarker ( 0, 0, 0, "corona", 0.1, 255, 65, 0 ) attachElements ( ind3, veh, -0.7, -2.7, -0.14 ) local ind4 = createMarker ( 0, 0, 0, "corona", 0.1, 255, 65, 0 ) attachElements ( ind4, veh, 0.7, -2.7, -0.14 ) Is it an MTA bug? Can I do anything about it?
Et-win Posted July 31, 2014 Posted July 31, 2014 That problem is here already for a long time. Always if I create one, it shows in my own server but not in other big servers. Would too like to know why.
pa3ck Posted July 31, 2014 Author Posted July 31, 2014 Well, just found out it gets created, the element is there, but you can't see it. Sometimes you can see all of them, sometimes you can only see 3 or 2 coronas...
AboShanab Posted July 31, 2014 Posted July 31, 2014 +1 i have this proplem with my script and my codes is correct 100%
Bonsai Posted July 31, 2014 Posted July 31, 2014 This problem was there from the beginning, no hope its ever gonna get fixed.
MTA Team ccw Posted July 31, 2014 MTA Team Posted July 31, 2014 It is a GTA bug. Try this: https://community.multitheftauto.com/in ... ls&id=9558
pa3ck Posted July 31, 2014 Author Posted July 31, 2014 Thank you, it does work, unfortunately it doesn't return an element, attachElements cannot be used..
AboShanab Posted July 31, 2014 Posted July 31, 2014 It is a GTA bug.Try this: https://community.multitheftauto.com/in ... ls&id=9558 u can fix it ?
Ren_712 Posted August 3, 2014 Posted August 3, 2014 pa3ck, AboShanab - Well .. it isn't broken. But yeah, it doesn't behave as an element. I'll try to work it out somehow. Meanwhile use getElementPosition(theElement) and 'setCoronaPosition' function.
pa3ck Posted August 14, 2014 Author Posted August 14, 2014 pa3ck, AboShanab - Well .. it isn't broken. But yeah, it doesn't behave as an element. I'll try to work it out somehow. Meanwhile use getElementPosition(theElement) and 'setCoronaPosition' function. Thank you for your answer! I would love to see something like attachElement. Well done!
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