diff options
author | Tom Barham <me@cpdt.dev> | 2022-02-22 08:33:50 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 19:33:50 -0300 |
commit | ea9a2ed9b9698d891769fa8598b8262aad97ed77 (patch) | |
tree | 2bcac5590c8c12114b6a54febd7920506bbe66c4 /Northstar.Client/mod/scripts/vscripts/chat.gnut | |
parent | 1fad39a0d753fa905520ee858f3aa4e8a3ad96a5 (diff) | |
download | NorthstarMods-ea9a2ed9b9698d891769fa8598b8262aad97ed77.tar.gz NorthstarMods-ea9a2ed9b9698d891769fa8598b8262aad97ed77.zip |
Advanced chat: custom messages and client hooks (#217)
Co-authored-by: EmmaM <27428383+emma-miler@users.noreply.github.com>
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts/chat.gnut')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/chat.gnut | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/chat.gnut b/Northstar.Client/mod/scripts/vscripts/chat.gnut new file mode 100644 index 00000000..ce26434c --- /dev/null +++ b/Northstar.Client/mod/scripts/vscripts/chat.gnut @@ -0,0 +1,18 @@ +untyped +globalize_all_functions + +void function Chat_NetworkWriteLine(string text) { + NSChatWriteLine(0, text) +} + +void function Chat_GameWriteLine(string text) { + NSChatWriteLine(1, text) +} + +void function Chat_NetworkWrite(string text) { + NSChatWrite(0, text) +} + +void function Chat_GameWrite(string text) { + NSChatWrite(1, text) +} |