Stropon777 Posted October 27, 2017 Share Posted October 27, 2017 WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:2182: Bad argument @ 'getElementType' [Expected element at argument 1] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:2298: Bad argument @ 'getElementType' [Expected element at argument 1] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:2329: Bad argument @ 'getElementType' [Expected element at argument 1] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:2429: Bad argument @ 'getElementType' [Expected element at argument 1] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:2439: Bad argument @ 'getElementType' [Expected element at argument 1] Below, I have shown a 1 place where error, it is the same everywhere... function checkTrapPlace( theElement, matchingDimension ) 2182, 2298, 2329, 2429, 2439 - if ( getElementType ( theElement ) == 'player' ) and matchingDimension then if getElementData ( source, "mineFar" ) then THNX! Link to comment
idarrr Posted October 27, 2017 Share Posted October 27, 2017 Simply, theElement variable isn't element, the problem is from another script calling that function. Link to comment
Stropon777 Posted October 28, 2017 Author Share Posted October 28, 2017 How to fix please help? Please give code 1 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