Nexsus12 Posted January 19, 2015 Share Posted January 19, 2015 i need help with this: http://www.pic-upload.de/view-25890663/idk.png.html marker = createMarker (-2415.6797,-611.46582,132.5625,"cylinder",2.0,0,255,0,getRootElement()) function teleport (hitElement) setElementPosition(hitElement,-2428.0566,-599.19238,132.45692) end addEventHandler("onMarkerHit",marker,teleport) Link to comment
roaddog Posted January 19, 2015 Share Posted January 19, 2015 just remove the 9th parameter or add value for alpha, anyway default visiblility of createMarker function is to everyone so yeah. marker = createMarker (-2415.6797, -611.46582, 132.5625, "cylinder", 2, 0, 255, 0, 255) function teleport (hitElement) setElementPosition(hitElement,-2428.0566,-599.19238,132.45692) end addEventHandler("onMarkerHit",marker,teleport) 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