Big Smoker Posted July 21, 2019 Share Posted July 21, 2019 (edited) Bom Dia, queria criar uma função no meu sistema de login a onde, o ped que fica no login mostra a mochila e o armamento que ele esta equipado. ai queria saber quais as função que devo usar no ped para aparecer em questão da mochila que fica nas costas devo usar um bone_attach? Obrigado Edited July 21, 2019 by felipebaidoloko Link to comment
Other Languages Moderators Lord Henry Posted July 21, 2019 Other Languages Moderators Share Posted July 21, 2019 Sim, use o Resource:Bone_attach Link to comment
Big Smoker Posted July 21, 2019 Author Share Posted July 21, 2019 pode me da um exemplo como devo colocar a arma na mao do ped? tentei usar o giveWeapon mais nao deu Link to comment
Other Languages Moderators Lord Henry Posted July 21, 2019 Other Languages Moderators Share Posted July 21, 2019 GivePedWeapon Link to comment
Big Smoker Posted July 21, 2019 Author Share Posted July 21, 2019 fiz e nao deu da esse erro Bad argument @'givePedWeapon' [Expected element at argument 1, got nil] testPed = createPed((getElementData(getLocalPlayer(),"sexID")or 0),pedCord1,pedCord2,pedCord3,pedRotation) givePedWeapon( thePed,31, 0, true) Link to comment
Other Languages Moderators Lord Henry Posted July 21, 2019 Other Languages Moderators Share Posted July 21, 2019 Vc colocou thePed no lugar de testPed Link to comment
Big Smoker Posted July 21, 2019 Author Share Posted July 21, 2019 sim, mesmo assim nao esta funcionando Link to comment
DNL291 Posted July 21, 2019 Share Posted July 21, 2019 O ped aparece ? Pode ser erro no getElementData ou nas coordenadas. Digite /debugscript 3 e veja se mostra algum erro. 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