diff options
| author | Jakob Fries <jakob.fries@gmail.com> | 2008-02-04 00:13:34 +0000 |
|---|---|---|
| committer | Jakob Fries <jakob.fries@gmail.com> | 2008-02-04 00:13:34 +0000 |
| commit | d76661b3be30a78203438d53bd91657006d930a9 (patch) | |
| tree | f70fcb4dd6128c980dfd8f035d8a8073aa220bcb /src/game/client/gc_client.cpp | |
| parent | be33e56abccb9459419ffa5376774332c06b517d (diff) | |
| download | zcatch-d76661b3be30a78203438d53bd91657006d930a9.tar.gz zcatch-d76661b3be30a78203438d53bd91657006d930a9.zip | |
console now has proper backlog and command history. kill command added. predicted hooks no longer make a sound when hitting a player.
Diffstat (limited to 'src/game/client/gc_client.cpp')
| -rw-r--r-- | src/game/client/gc_client.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp index 79b50317..7032637f 100644 --- a/src/game/client/gc_client.cpp +++ b/src/game/client/gc_client.cpp @@ -334,6 +334,14 @@ void send_emoticon(int emoticon) client_send_msg(); } +void send_kill(int client_id) +{ + msg_pack_start(MSG_KILL, MSGFLAG_VITAL); + msg_pack_int(client_id); + msg_pack_end(); + client_send_msg(); +} + void anim_seq_eval(sequence *seq, float time, keyframe *frame) { if(seq->num_frames == 0) |