Sign in to follow this  
JesseOngame

ajuda com esse script

Recommended Posts

function missao()
      carro = createVehicle(513, -1169.68250, -163.73251, 14.14844)
      outputChatBox("#00FFFF[INFO]: #FF0000missao! ", getRootElement(),255,255,255, true)
end
addCommandHandler("m", missao)

function entrar(theVehicle)
    if ( carro[getElementModel ( theVehicle )] ) then
        outputChatBox("#00FFFF[INFO]: #FF0000entrou! ", getRootElement(),255,255,255, true)
end
addEventHandler ( "onPlayerVehicleEnter", carro, entrar)

 

galera oque tem de erado ai , tipo a minha intençao com isso e que quando eu digitar (/m ) spawnar um carro ate ai foi , dai quando o player entra no carro quero que apareça uma mensagem , hempa eu ai pls

galera nao entendo nada de scrpit e como eu to querendo um que nao acho de jeito nenhum to tentando fazer esse me ajudem pf

Edited by jhxp

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.