Jump to content

Help me, for getElementType


Stropon777

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...