Jump to content

Create MARKER


Rubin

Recommended Posts

Posted (edited)
Salut vreau sa creez un marker si cand sa intri in el sa-ti dea niste banii si sa anunte ceva pe chat.
createMarker 
addEventHandler 
outputChatBox 

Edited by Guest
Posted

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( ) )

Posted
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 ?

Posted
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 ) 

Posted

A mers, si cum asi putea face sa scriu /startmission , si sa apara checkpoint-ul si cand intru in el sa mai apara inca unul si tot asa.

Posted
A mers, si cum asi putea face sa scriu /startmission , si sa apara checkpoint-ul si cand intru in el sa mai apara inca unul si tot asa.

Aaa, vrei sa copiezi scriptul vR-ului cu misiunile :o

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