Jump to content

Marker.


davedavy

Recommended Posts

local marker = createMarker ( 2392.6950683594, 2043.826171875, 10.8203125, 'cylinder', 1.0, 255, 255, 255, 255 ) 
addEventHandler ( "onMarkerHit" , marker , 
function(hElement,matchingDim) 
if not matchingDim then return end 
if getElementType ( hElement ) ~= "player" then return end 
--setElementPosition ( hElement, posX , posY , posZ ) 
setElementInterior ( hElement , 9 ) 
end) 

Replace posX , posY , posZ with the position you want the player to be teleported to, and uncomment it.

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...