Tio.Andy Posted April 13, 2019 Share 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? Link to comment
Other Languages Moderators Lord Henry Posted April 13, 2019 Other Languages Moderators Share Posted April 13, 2019 Que erro? Link to comment
Tio.Andy Posted April 13, 2019 Author Share Posted April 13, 2019 1 hour ago, Lord Henry said: Que erro? quando ativo e dou esse comando o bagulho nao aparece tlg? Link to comment
#DaNiLiN Posted April 13, 2019 Share Posted April 13, 2019 Tu ativou o bone_attach ? 1 Link to comment
#DeltaSCR Posted April 13, 2019 Share Posted April 13, 2019 @Tio.Andy Apresente o debugscript 3, é melhor para te ajudarmos. Link to comment
Tio.Andy Posted April 13, 2019 Author Share Posted April 13, 2019 2 hours ago, #DaNiLiN said: Tu ativou o bone_attach ? ativei Link to comment
Tio.Andy Posted April 13, 2019 Author Share Posted April 13, 2019 1 hour ago, #DeltaSCR said: @Tio.Andy Apresente o debugscript 3, é melhor para te ajudarmos. ok https://imgur.com/Bk3t1sc Link to comment
Other Languages Moderators Lord Henry Posted April 13, 2019 Other Languages Moderators Share 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) Link to comment
Tio.Andy Posted April 15, 2019 Author Share 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 Link to comment
Other Languages Moderators Lord Henry Posted April 15, 2019 Other Languages Moderators Share 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 Link to comment
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