Neffax Posted January 9, 2022 Posted January 9, 2022 local function on_exit_hit (hitElement, matchingDimension) if getElementType (hitElement) ~= "player" then outputChatBox (getPlayerName (hitElement).." ".."Join The Marker") return end end local function on_enter_hit (hitElement, matchingDimension) if getElementType (hitElement) ~= "player" then outputChatBox (getPlayerName (hitElement).." ".."Join The Marker") return end setElementInterior ( hitElement, 207.5430, -109.0040, 1005.1330 ) end local function stp () local enter = createMarker ( 1154.11340, -1772.66272, 17.59375, "arrow", 2, 255, 0, 0, 155 ) local exit = createMarker ( -2029.67358, -118.98129, 1035.17188, "arrow", 2, 255, 0, 0, 155 ) addEventHandler ("onMarkerHit", enter, on_enter_hit) addEventHandler ("onMarkerHit", exit, on_exit_hit) end addEventHandler ("onResourceStart", resourceRoot, stp)
NeXuS™ Posted January 9, 2022 Posted January 9, 2022 I mean, it doesn't look like you have the right coordinates and maybe you should look into the setElementInterior function deeper. 1
Neffax Posted January 9, 2022 Author Posted January 9, 2022 I think the coordinates are correct, but I don't know where the error is!!?
Shady1 Posted January 9, 2022 Posted January 9, 2022 setElementInterior(marker, markerInterior) you should try, and refresh your coordinate information,If it doesn't work, I can send you a few pieces of the interior system that I personally use.. 1
NeXuS™ Posted January 9, 2022 Posted January 9, 2022 Please check the syntax for setElementInterior. 1
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