Jump to content

[Help :l]Ramp With Marker


HunT

Recommended Posts

seriously, if you hate it, then do something else with your time, thank you.

Omg guys i joked!!

local root = getRootElement() 
local this = getThisResource() 
local resourceRoot = getResourceRootElement(this) 
local localPlayer = getLocalPlayer() 
local Marker = {} 
  
  
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        Marker[1] = createMarker(....,...., ....., "corona", 10, 0, 0, 0) 
         
         
         
    end 
) 
  
addEventHandler("onClientResourceStop", root, 
    function(res) 
        if res == this then 
             
             
     
     
     
      
        end 
    end 
) 
  
addEventHandler("onClientMarkerHit", root, 
    function(player, matchingDimension) 
        if not matchingDimension then return end 
         
        if player == localPlayer and isPedInVehicle(player) then 
            local vehicle = getPedOccupiedVehicle(player) 
  
             
            if source == Marker[1] then 
             
             
            ??????????????????????????????????????????????? 
                 
                             
            end 
        end 
    end 
) 

edit : I don't want to learn. . .I need alone help

Link to comment

"How to give a player a ramp that is handled by a bind and command? How to make it when you press that key it will spawn a client/server in front of the person and thus making the person jump (unless that person swerves around it)" is the correct way of asking your question, I think.

Link to comment

with this code attachElements no work :cry:

elseif source == Marker[2] then 
             local x, y, z = getElementPosition ( source )  
      local ramp = createObject ( 1633, x, y, z )  
      attachElements ( ramp, source, 0, 0, 0 ) 

createObject work :D attachElements no work :shock: . . . whi? (look video)

Link to comment
because source is a marker, not a vehicle

I don't need your help. . . Aspect other scripters.

In my posts not to answer please.

Hahaha, aiboforcen it's a good member that helps everyone, your problem is that you don't understand him, maybe because of your shity english ;)

Link to comment
because source is a marker, not a vehicle

I don't need your help. . . Aspect other scripters.

In my posts not to answer please.

Hahaha, aiboforcen it's a good member that helps everyone, your problem is that you don't understand him, maybe because of your :~ english ;)

Hate for other motive.

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