addEventHandler("onPlayerChat",root,function(m,t)
if t == 1 then
cancelEvent()
local x, y, z = getElementPosition(source)
local col = createColSphere(x, y, z, 25)
for i,v in ipairs(getElementsWithinColShape(col, "player")) do
outputChatBox( "#363636**"..getPlayerName(source).." #fbfbfb"..m,v, 255, 255, 255, true)
end
destroyElement(col)
end
end)
addEventHandler("onPlayerChat",root,function(m,t)
if t == 1 then
cancelEvent()
local x, y, z = getElementPosition(source)
local col = createColSphere(x, y, z, 25)
destroyElement (col)
for i,v in ipairs(getElementsWithinColShape(col, "player")) do
outputChatBox( "#363636**"..getPlayerName(source).." #fbfbfb"..m,v, 255, 255, 255, true)
end
end
end)
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach