Quote:
Originally Posted by xCPx
notice_all only works for gamemasters
|
Fake.
The command "/n" is only for gamemasters. Is a global notice.
The function "notice_all" works fine in .quest without to be a GM.
bnfxbexbz, your fixx:
Code:
quest chat_nick begin
state start begin
when kill with npc.is_pc() begin
local vid = npc.get_vid()
local old_pc = pc.select(vid)
if old_pc != 0 then
local lev = pc.get_level()
local name = pc.get_name()
pc.select(old_pc)
notice_all("WARINIG: "...pc.get_name().." kill "..name.." lvl "..lev.." !!!")
end
end
end
end