Jump to content

Recommended Posts

Posted

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
Posted

shapeFar precisa ser um colShape e não um objeto.

Onde está a parte onde vc define esse elementData?

  • 2 weeks later...
  • Other Languages Moderators
Posted
On 03/04/2020 at 21:01, Lord Henry said:

Onde está a parte onde vc define esse elementData?

?

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...