magicplayerc Posted February 17, 2019 Posted February 17, 2019 quero que animaçao do jogador pare quando executar o comando em outro marker function escada(Jogador) if isElementWithinMarker(Jogador, balcao2) then setElementPosition(balcao2, 2413.03320, -1494.10571, 24.05586) destroyElement (balcao2) setPedRotation(Jogador, 190) setElementPosition(Jogador, 2413.03320, -1494.10571, 24.05586) setPedAnimation(Jogador,"CARRY", "crry_prtial", 0.0, false, false, false) outputChatBox("#00FA9A[Soldador] #ffffffVoce esta soldando a peça do navio aguarde 1 minuto para terminar", Jogador, 255, 255, 255, true) end,5000,1) setTimer( function () escada1 = createObject ( 1437, 418.099609375, -1349.2998046875, 22.60000038147, 337.99987792969, 0, 217.99072265625) escada2 = createObject ( 1437, 416.2001953125, -1346.900390625, 17.700000762939, 337.99987792969, 0, 217.99072265625) escada3 = createObject ( 1437, 414.400390625, -1344.599609375, 13, 337.99987792969, 0,217.99072265625) triggerClientEvent(Jogador, "doShowProgressBar", Jogador) triggerEvent(eventorestart, root) end, 1000, 1) end end addCommandHandler("pegar",escada)
#DaNiLiN Posted February 17, 2019 Posted February 17, 2019 Pra Animação parar de ser executada use. setPedAnimation(source)
magicplayerc Posted February 17, 2019 Author Posted February 17, 2019 setPedAnimation(source,false) ?
#DaNiLiN Posted February 17, 2019 Posted February 17, 2019 Tu está utilizando no lugar errado, E Eu não vou por pra tu no lugar certo até porquê teu código ali ta uma bagunça, Oque tu precisa pra parar a animação eu mandei agora basta saber onde por. 1
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