Added native support for set_speak and get_speak and SetSpeak

This commit is contained in:
David Anderson 2004-03-21 09:17:55 +00:00
parent 9bec921fd8
commit 421c62c6a0
2 changed files with 7 additions and 0 deletions

View File

@ -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()

View File

@ -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)