JesseOngame Posted January 17, 2019 Share Posted January 17, 2019 (edited) 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 January 20, 2019 by jhxp Link to comment
JesseOngame Posted January 18, 2019 Author Share Posted January 18, 2019 ajuda galera pf Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now