

Take the ID of the player and check it's X,Y and then check how many items (in numbers) are there under him, if there are more than 50 then return false, otherwise return true.
Is it possible please

Thanks

function myFunc(id) 	if #closeitems(id,0) > 50 then return false end 	return true end
function was(id) 	if #closeitems(id,0)< 50 then 		return true 	end 	return false end
function was(id) 	if #closeitems(id,0)>=50 then 		return true 	else 		return false 	end end