mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-26 18:50:38 +01:00
13 lines
380 B
Lua
Executable File
13 lines
380 B
Lua
Executable File
if rawget(_G, "cmsg") then
|
|
function quests.show_message(t, playername, text)
|
|
if (quests.hud[playername].central_message_enabled) then
|
|
local player = minetest.get_player_by_name(playername)
|
|
cmsg.push_message_player(player, text, quests.colors[t])
|
|
minetest.sound_play("quests_" .. t, {to_player = playername})
|
|
end
|
|
end
|
|
else
|
|
function quests.show_message(...)
|
|
end
|
|
end
|