Guiliudoau Posted June 24, 2019 Share Posted June 24, 2019 Help plzz survivorSystem.Lua:570: Bad argument @ 'destroyElement' [Expected element at argument 1, got boolean] elseif previousWeaponID == weapID1 then detachElementFromBone(elementWeaponRaplace[source]) destroyElement(elementWeaponRaplace[source]) elementWeaponRaplace[source] = false end end Thanks Link to comment
aka Blue Posted June 24, 2019 Share Posted June 24, 2019 This does not exists and can't be destroyed: elementWeaponRaplace[source] Please, if you want help, post lines of code that we can understand. Link to comment
iDannz [Breno] Posted June 30, 2019 Share Posted June 30, 2019 you can use if isElement(element) before deleting it 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