Jump to content

Why not working stop ped animation?


Turbe$Z

Recommended Posts

rablashelye = createMarker ( 252.3,-54.6,0.9, "cylinder", 1, 255, 255, 255, 170 )

function beleallas(thePlayer) 
	outputChatBox("test",thePlayer,r,g,b,true)
	setPedAnimation ( thePlayer, "DANCING", "dnce_m_b")
end
addEventHandler( "onMarkerHit", rablashelye, beleallas )

setTimer(
function(thePlayer)
	setPedAnimation(thePlayer,false)
end,1000,0)

 

Link to comment
rablashelye = createMarker ( 252.3,-54.6,0.9, "cylinder", 1, 255, 255, 255, 170 )
function holy(tp)
	setPedAnimation(tp,false)
end
function beleallas(thePlayer) 
	outputChatBox("test",thePlayer,r,g,b,true)
	setPedAnimation ( thePlayer, "DANCING", "dnce_m_b")
	setTimer(holy,1000,1,thePlayer)

end
addEventHandler( "onMarkerHit", rablashelye, beleallas )

 

Edited by 3laa33
  • Like 1
Link to comment
30 minutes ago, 3laa33 said:

rablashelye = createMarker ( 252.3,-54.6,0.9, "cylinder", 1, 255, 255, 255, 170 )
function holy(tp)
	setPedAnimation(tp,false)
end
function beleallas(thePlayer) 
	outputChatBox("test",thePlayer,r,g,b,true)
	setPedAnimation ( thePlayer, "DANCING", "dnce_m_b")
	setTimer(holy,1000,1,thePlayer)

end
addEventHandler( "onMarkerHit", rablashelye, beleallas )

 

Thanks :D

Link to comment

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