Jump to content

[HELP]Fix Marker Script


Om.

Recommended Posts

this ?

newmarker1 = createMarker ( 0, 0, 5, "checkpoint", 9.9, 0, 255, 0, 255 )  -- Create a green marker 
  
function markerfix(hitElement) 
    if ( source == newmarker1 ) then 
        if ( isElement ( hitElement ) and getElementType ( hitElement ) == "player" ) then 
          local ve = getPedOccupiedVehicle(hitElement) 
          fixVehicle(ve) 
          takePlayerMoney ( hitElement, 200 )  
        end 
     end 
end 
addEventHandler("onMarkerHit", getResourceRootElement(getThisResource()), markerfix) 

Link to comment
this ?
newmarker1 = createMarker ( 0, 0, 5, "checkpoint", 9.9, 0, 255, 0, 255 )  -- Create a green marker 
  
function markerfix(hitElement) 
    if ( source == newmarker1 ) then 
        if ( isElement ( hitElement ) and getElementType ( hitElement ) == "player" ) then 
          local ve = getPedOccupiedVehicle(hitElement) 
          fixVehicle(ve) 
          takePlayerMoney ( hitElement, 200 )  
        end 
     end 
end 
addEventHandler("onMarkerHit", getResourceRootElement(getThisResource()), markerfix) 

Let Me Cheak This :D But i need a Meta.xml of this Script pls gimme

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