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?
Other Languages Moderators Lord Henry Posted April 13, 2019 Other Languages Moderators Posted April 13, 2019 Que erro?
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?
#DeltaSCR Posted April 13, 2019 Posted April 13, 2019 @Tio.Andy Apresente o debugscript 3, é melhor para te ajudarmos.
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
Other Languages Moderators Lord Henry Posted April 13, 2019 Other Languages 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)
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
Other Languages Moderators Lord Henry Posted April 15, 2019 Other Languages 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
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