Big Smoker Posted April 3, 2020 Posted April 3, 2020 Boa Tarde, estou com problema de aviso no console fica floodando Quote Bad argument @ 'getElementsWithinColShape' [Expected colshape at argument 1, got object] function checkPlayersInView ( zomb ) local shapeFar = getElementData ( zomb, "shapeFar" ) if isElement(shapeFar) then if #getElementsWithinColShape ( shapeFar, "player" ) == 0 then --- AVISO BEM AQUI return false else return true end end end
Other Languages Moderators Lord Henry Posted April 4, 2020 Other Languages Moderators Posted April 4, 2020 shapeFar precisa ser um colShape e não um objeto. Onde está a parte onde vc define esse elementData?
Other Languages Moderators Lord Henry Posted April 19, 2020 Other Languages Moderators Posted April 19, 2020 On 03/04/2020 at 21:01, Lord Henry said: Onde está a parte onde vc define esse elementData? ?
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