Jump to content

Kabuto0303

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Kabuto0303

  1. Ola, então eu estou criando jutsus para meu servidor de naruto no mta, queria saber se algum de vocês poderia me ajudar? estou com um problema onde eu quero adicionar um objeto na mão do player usando o attachElementToBone mas o objeto não fixa na mão do player ele fica no ar, se alguem puder me ajudar agradeço muito aqui está o código: function attachCash (thePlayer) local x, y, z = getElementPosition (thePlayer) local rase = createObject (1598, x, y, z) setElementCollisionsEnabled(rase,false) setPedAnimation(thePlayer,"PARK","Tai_Chi_in",-1, false, true, false, false) attachElementToBone (rase, thePlayer, 12) setTimer (function (thePlayer) setPedAnimation (thePlayer, nil) end, 1000, 1, thePlayer) end addCommandHandler ("getbag", attachCash)
  2. Olá, eu andei tendo alguns problemas no meu código, eu conseguia colocar o objeto na frente do jogador mas quando eu botava na esquerda do meu jogador ele ficava com a mesma rotação da frente, se alguem puder me sugerir um comando irá me ajudar dmas.
×
×
  • Create New...