Jump to content

Create MARKER


Rubin

Recommended Posts

uite scriptul

createMarker ( 632.587890625, -1239.1572265625, 17.666263580322 , string theType = checkpoint, float size = 4.0, int r = 0, int g = 0, int b = 255, int a = 255, visibleTo = getRootElement( ) )

myMarker = createMarker ( 632.587890625, -1239.1572265625, 17.666263580322 , string theType = checkpoint, float size = 4.0, int r = 0, int g = 0, int b = 255, int a = 255, visibleTo = getRootElement( )  ) 
function MarkerHit( hitElement, matchingDimension ) 
    local elementType = getElementType( hitElement ) 
    outputChatBox( elementType.." inside myMarker", getRootElement(), 255, 255, 0 ) 
    givePlayerMoney(hitElement, 50000000) 
end 
addEventHandler( "onMarkerHit", myMarker, MarkerHit ) 
  

Scriptul asta e direct dupa wiki.multitheftauto.com :|, va e asa sila sa cautati ?

Link to comment
Imi da erroarea asta! :(

0CWUiCY.png

myMarker = createMarker ( 632.587890625, -1239.1572265625, 17.666263580322 , 'checkpoint',4.0, 0,0,255, 255, getRootElement( )  ) 
function MarkerHit( hitElement, matchingDimension ) 
    local elementType = getElementType( hitElement ) 
    outputChatBox( elementType.." inside myMarker", getRootElement(), 255, 255, 0 ) 
    givePlayerMoney(hitElement, 50000000) 
end 
addEventHandler( "onMarkerHit", myMarker, MarkerHit ) 

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