Jump to content

I could use help with the teleports


Recommended Posts

i have made a script for a teleport on a teleport from a marker in LS City Hall to the Civic Center Interior

local LSCHMarker = createMarker ( 1481.9355, -1771.1598, 18.7958, cylinder, 255, 0, 0, getRootElement() ) 
function MarkerHit ( hitElement,matchingDimension )
if getElementType ( hitElement ) == "player" then
setElementPosition ( Player, 365.9877, 162.5522, 1025.7890,( warp = true ) )
setElementInterior ( Player, 3, 365.9877, 162.5522, 1025.7890 )
end
end
addEventHandler("onMarkerHit", LSCHMarker, MarkerHit )

this ends with an error and i just dont know whats wrong

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...