Big Smoker Posted April 3, 2020 Share 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 Link to comment
Other Languages Moderators Lord Henry Posted April 4, 2020 Other Languages Moderators Share Posted April 4, 2020 shapeFar precisa ser um colShape e não um objeto. Onde está a parte onde vc define esse elementData? Link to comment
Big Smoker Posted April 18, 2020 Author Share Posted April 18, 2020 @Lord Henry Sim ele esta como col shop Link to comment
Other Languages Moderators Lord Henry Posted April 19, 2020 Other Languages Moderators Share Posted April 19, 2020 On 03/04/2020 at 21:01, Lord Henry said: Onde está a parte onde vc define esse elementData? ? 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