Code: Select all
local function broadcastMsg(c, msg)
answer = adchpp.AdcCommand(adchpp.CMD_MSG, adchpp.TYPE_BROADCAST, adchpp.HUB_SID)
answer:addParam(msg)
cm:sendToAll(answer)
end
Code: Select all
local function broadcastMsg(c, msg)
answer = adchpp.AdcCommand(adchpp.CMD_MSG, adchpp.TYPE_BROADCAST, adchpp.HUB_SID)
answer:addParam(msg)
cm:sendToAll(answer)
end
Code: Select all
LuaScript: Error loading file: C:\ADCH++\Scripts\lua\access.lua:6: attempt to index global 'adchpp' (a nil value)