mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-30 11:47:45 +00:00

Document the previously unknown parameter for the ServerChatMessage opcode Credit goes to Sapphire as usual (see comments)
10 lines
339 B
Lua
10 lines
339 B
Lua
required_rank = GM_RANK_DEBUG
|
|
|
|
CHAT_LOG = 1
|
|
ON_SCREEN = 4
|
|
|
|
function onCommand(args, player)
|
|
player:send_message("this is a test of on-screen only", ON_SCREEN)
|
|
--player:send_message("this is an on-screen + chat log test", ON_SCREEN + CHAT_LOG)
|
|
player:send_message("this is a test of the chat log only, which omits a param")
|
|
end
|