Jump to content

Animaciones (bind)


Recommended Posts

creo que esto ya me volo el coco.... he intentado de todas las maneras que he aprendido o medio creo saber... hacer que las animaciones no sean por comando sino por medio de bind...

function animationCommand ( source ) 
setPedAnimation ( source, "shop", "Grlfrd_Kiss_03", -1, true, false, false ) 
outputChatBox ( "* Kiss Anim By Zoom", source, 0, 0, 255 ) 
end 
addCommandHandler ( "kiss", animationCommand ) 
  
function animationCommand2 ( source ) 
setPedAnimation ( source ) 
end 
addCommandHandler ( "stopkiss", animationCommand2 ) 

Lo que yo creo que puede ser es hacer eso

bindKey ( "1",  animationCommand ) 

es un simple script quien me ayuda :D

Link to comment

no me quiere servir ya intente eso en otro recurso y no me funciona

function anim ( source ) 
setPedAnimation ( source, "dancing", "dnce_m_b", -1, true, false, false ) 
outputChatBox ( "* Type '/stop-anim' to stop dancing", source, 0, 0, 255 ) 
end 
bindKey("1", "down", anim) 
  
function anim2 ( source ) 
setPedAnimation ( source ) 
end 
bindKey("2", "down", anim) 

este es otro ejemplo

Link to comment
no me quiere servir ya intente eso en otro recurso y no me funciona
function anim ( source ) 
setPedAnimation ( source, "dancing", "dnce_m_b", -1, true, false, false ) -- El tiempo es menos 1 milisegundo? 
outputChatBox ( "* Type '/stop-anim' to stop dancing", source, 0, 0, 255 ) 
end 
bindKey("1", "down", anim) 
  
function anim2 ( source ) 
setPedAnimation ( source ) -- Que anim establece? 
end 
bindKey("2", "down", anim) 

este es otro ejemplo

Link to comment
  • 2 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...