Jump to content

Teleport not work?


SolidJuho

Recommended Posts

---secrertlabin 
secretlabin = createMarker(-1500, 1961.5, 48.4, "cylinder", 1, 255, 255, 255, 255) 
  
function secretin_func ( player, dim ) 
    
    if dim == true and getPedOccupiedVehicle ( player ) == false then 
        setElementPosition ( player,-1478.6999511719, 1962.8000488281, 30.89999961853) 
    end 
end 
addEventHandler ( "onMarkerHit", secretlabin, secrertlabin_func ) 
  
---secretlabout 
secretlabout = createMarker(-1475.7001953125, 1962, 30.6, "cylinder", 1, 255, 255, 255, 255) 
  
function secretlab_func ( player, dim ) 
    
    if dim == true and getPedOccupiedVehicle ( player ) == false then 
        setElementPosition ( player,-1500, 1964.3000488281, 48) 
    end 
end 
addEventHandler ( "onMarkerHit", secretlabout, secretlab_func ) 
  

It just not work, i checked debug script and no errors, or warnings, it create markers, but not tp? Can you guys help? :?:

Link to comment
  
---secrertlabin 
secretlabin = createMarker(-1500, 1961.5, 48.4, "cylinder", 1, 255, 255, 255, 255) 
  
function secretlabin_func ( player, dim ) 
    
    if dim == true and getPedOccupiedVehicle ( player ) == false then 
        setElementPosition ( player,-1478.6999511719, 1962.8000488281, 30.89999961853) 
    end 
end 
addEventHandler ( "onMarkerHit", secretlabin, secretlabin_func ) 
  
---secretlabout 
secretlabout = createMarker(-1475.7001953125, 1962, 30.6, "cylinder", 1, 255, 255, 255, 255) 
  
function secretlab_func ( player, dim ) 
    
    if dim == true and getPedOccupiedVehicle ( player ) == false then 
        setElementPosition ( player,-1500, 1964.3000488281, 48) 
    end 
end 
addEventHandler ( "onMarkerHit", secretlabout, secretlab_func ) 
  

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