Mikhail Posted October 10, 2018 Share Posted October 10, 2018 (edited) Estoy con este comando pero no se como ponerle un setTimer, porque al ejecutar este comando y el que cierra, seguidos por elemplo , los tengo bindeado en 5 y 6, y empiezo a apretar 56565656 la barra no espera a llegar a su destino, y queda en un lugar cualquiera, entienden? entonces quiero poner un set timer con el tiempo que la barra llegue a su lugar, para que no lo usen asi seguido "565656" y la barra quede "loca" >.< Spoiler barrafc = createObject ( 968, -215.89999, 1008, 19.5, 0, 269.5, 358 ) gateOpen = false -- gate is closed by default function AFF ( thePlayer, commandName ) if gateOpen ~= true then moveObject ( barrafc, 1000, -215.89999, 1008, 19.5, 0, 90, 0 ) outputChatBox("Entrada abierta",thePlayer,255,255,0) gateOpen = true else if gateOpen == true then end end end addCommandHandler ( "abrirfcpd", AFF ) Edited October 10, 2018 by Mikhail 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