From 421c62c6a0ad8a1ab930db1e47a3fde4a4961e66 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 21 Mar 2004 09:17:55 +0000 Subject: [PATCH] Added native support for set_speak and get_speak and SetSpeak --- plugins/include/Vexd_Utilities.inc | 3 +++ plugins/include/engine.inc | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/plugins/include/Vexd_Utilities.inc b/plugins/include/Vexd_Utilities.inc index e04a7469..24236589 100755 --- a/plugins/include/Vexd_Utilities.inc +++ b/plugins/include/Vexd_Utilities.inc @@ -96,6 +96,9 @@ stock AttachView(iIndex, iTargetIndex) stock SetView(iIndex, ViewType) return set_view(iIndex, ViewType) +stock SetSpeak(iIndex, iSpeakFlags) + return set_speak(iIndex, iSpeakFlags) + forward vexd_pfntouch(pToucher, pTouched) forward ServerFrame() \ No newline at end of file diff --git a/plugins/include/engine.inc b/plugins/include/engine.inc index ab8f37e1..842af333 100755 --- a/plugins/include/engine.inc +++ b/plugins/include/engine.inc @@ -62,6 +62,10 @@ native precache_generic(szFile[]); /* Precaches an event. */ native precache_event(type, Name[], {float,_}:...); +//set/get a user's speak flags +native set_speak(iIndex, iSpeakFlags) +native get_speak(iIndex) + //Drops an entity to the floor (work?) native drop_to_floor(entity)