Pedro Colto Posted May 13, 2015 Share Posted May 13, 2015 bem minha gm esta flodando warning nesta parte; elseif currentWeaponID == weapID1 then setElementID(player, "elementWeaponBack[source]") detachElementFromBone(elementWeaponBack[source]) destroyElement(elementWeaponBack[source]) elementWeaponBack[source] = false no console aparece só a linha 03 que no caso é esse : detachElementFromBone(elementWeaponBack[source]) tem outra forma de fazer isso, sem flodar warnning no meu console? Script Completo: http://pastebin.com/BdYKsWA6 Link to comment
DNL291 Posted May 13, 2015 Share Posted May 13, 2015 Seria útil se você mostrasse qual a mensagem de aviso que mostra. Tente verificando se elementWeaponBack[source] é um elemento com isElement. 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