Tio.Andy Posted April 13, 2019 Posted April 13, 2019 function mochila (thePlayer) local x, y, z = getElementPosition (thePlayer) local sacomoney = createObject (1550, x, y, z) setTimer (function (thePlayer) exports.bone_attach:attachElementToBone (sacomoney, thePlayer, 4, -0.3, 0.2, 0, -125, 0, 0) end, 1000, 1, thePlayer) end addCommandHandler ("Mochila", mochila) Quero que quando da /mochila aparece uma objeto nas costa Pq deu erro?
Moderators Lord Henry Posted April 13, 2019 Moderators Posted April 13, 2019 Que erro? Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanks! Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment Discord Oficial do MTA: https://mtasa.com/discord Blacklist e Whitelist de Scripters: Planilha Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.
Tio.Andy Posted April 13, 2019 Author Posted April 13, 2019 1 hour ago, Lord Henry said: Que erro? quando ativo e dou esse comando o bagulho nao aparece tlg?
#DaNiLiN Posted April 13, 2019 Posted April 13, 2019 Tu ativou o bone_attach ? 1 Meu comentário foi útil? Deixe um Thanks
#DeltaSCR Posted April 13, 2019 Posted April 13, 2019 @Tio.Andy Apresente o debugscript 3, é melhor para te ajudarmos. Minha resposta te ajudou? Por favor, não esqueça de avaliar - #DeltaSCR Minha página no Facebook: Delta Scripting - MTA "Viribus et honor"
Tio.Andy Posted April 13, 2019 Author Posted April 13, 2019 2 hours ago, #DaNiLiN said: Tu ativou o bone_attach ? ativei
Tio.Andy Posted April 13, 2019 Author Posted April 13, 2019 1 hour ago, #DeltaSCR said: @Tio.Andy Apresente o debugscript 3, é melhor para te ajudarmos. ok https://imgur.com/Bk3t1sc
Moderators Lord Henry Posted April 13, 2019 Moderators Posted April 13, 2019 Esse script é client-side, né? function mochila (cmd) local x, y, z = getElementPosition (localPlayer) local sacomoney = createObject (1550, x, y, z) setTimer (function () exports.bone_attach:attachElementToBone (sacomoney, localPlayer, 4, -0.3, 0.2, 0, -125, 0, 0) end, 1000, 1) end addCommandHandler ("Mochila", mochila) Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanks! Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment Discord Oficial do MTA: https://mtasa.com/discord Blacklist e Whitelist de Scripters: Planilha Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.
Tio.Andy Posted April 15, 2019 Author Posted April 15, 2019 On 13/04/2019 at 16:36, Lord Henry said: function mochila (cmd) local x, y, z = getElementPosition (localPlayer) local sacomoney = createObject (1550, x, y, z) setTimer (function () exports.bone_attach:attachElementToBone (sacomoney, localPlayer, 4, -0.3, 0.2, 0, -125, 0, 0) end, 1000, 1) end addCommandHandler ("Mochila", mochila) ss
Moderators Lord Henry Posted April 15, 2019 Moderators Posted April 15, 2019 (edited) On 13/04/2019 at 16:36, Lord Henry said: function mochila (cmd) local x, y, z = getElementPosition (localPlayer) local sacomoney = createObject (1550, x, y, z) setTimer (function () exports.bone_attach:attachElementToBone (sacomoney, localPlayer, 4, -0.3, 0.2, 0, -125, 0, 0) end, 1000, 1) end addCommandHandler ("Mochila", mochila) @Tio.Andy faça o script daquela forma ali. Edited April 15, 2019 by Lord Henry Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanks! Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment Discord Oficial do MTA: https://mtasa.com/discord Blacklist e Whitelist de Scripters: Planilha Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.
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