Jump to content

help needed


Unique23

Recommended Posts

local markers35 = { 
{ x = 1965.9000244141, y = 1916.0999755859, z = 130}, 
{ x = -183.30000305176, y = 1887.3000488281, z = 114.80000305176}, 
{ x = -1753.6999511719, y = 884.90002441406, z = 294.79998779297}, 
{ x = 226.60000610352, y = 1971.5999755859, z = 22.799999237061}, 
{ x = 2836.6000976563, y = -2445.1999511719, z = 11}, 
{ x = 2685.3999023438, y = -2087.8999023438, z = 28.89999961853}, 
{ x = 1767.8000488281, y = -2286.1999511719, z = 25.89999961853}, 
{ x = 1544.3000488281, y = -1353.8000488281, z = 328.5}, 
{ x = 1175.0999755859, y = -1181.5, z = 90.419998168945}, 
{ x = 1292.0999755859, y = -787.70001220703, z = 95.599998474121}, 
{ x = 1375.5999755859, y = 244.19999694824, z = 27.200000762939}, 
{ x = 2258.3999023438, y = 1009.0999755859, z = 78.599998474121}, 
{ x = 1044.5, y = 1013, z = 54.299999237061}, 
{ x = 2057.3000488281, y = 2433.8000488281, z = 164.60000610352}, 
{ x = 2692.1000976563, y = 2784.8999023438, z = 59.200000762939} 
} 
  
function landedon35(player) 
    for k, v in ipairs(markers35) do     
        marker35 = createMarker(v.x,v.y,v.z,"cylinder",1.2, 200, 200, 100, 150) 
        addEventHandler("onMarkerHit", marker35, hit35) 
    end 
end 
addEventHandler("onResourceStart", resourceRoot, landedon35) 
  
function hit35(player) 
    setElementPosition(player,215,1866,14) 
    playername=getPlayerNametagText(player) 
    outputChatBox(playername.."Landed on 35") 
end 

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