Plugin-VoxAnnouncer: Include events.h to properly choose the vox-say event id
This commit is contained in:
parent
70268440ee
commit
4e7829de53
1 changed files with 3 additions and 1 deletions
|
@ -14,11 +14,13 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "../shared/events.h"
|
||||
|
||||
void
|
||||
VoxFunc(string strMessage)
|
||||
{
|
||||
WriteByte(MSG_MULTICAST, SVC_CGAMEPACKET);
|
||||
WriteByte(MSG_MULTICAST, 27);
|
||||
WriteByte(MSG_MULTICAST, EV_CHAT_VOX);
|
||||
WriteString(MSG_MULTICAST, strMessage);
|
||||
msg_entity = world;
|
||||
multicast([0,0,0], MULTICAST_ALL);
|
||||
|
|
Loading…
Reference in a new issue