if(message)
then
for playerKey, playerValue in ipairs(getAlivePlayers())
do
local x1, y1, z1 = getElementPosition(thePlayer) -- badArgument here... WHY?!
local x2, y2, z2 = getElementPosition(playerKey)
if(getDistanceBetweenPoints3D(x1, y1, z1, x2, y2, z2) <= 50)
then
outputChatBox("[uC]"..playerName..": "..message, playerKey, 25, 105, 25, true) -- nothing special, that I will have badargument here, too -.-
end
end
My Problem are these badArguments...and I don't know how I can fix it...