Add FilterTriggerMoved native.

Add OnPrePlayerThinkFunctions and OnPostPlayerThinkFunctions forward.
This commit is contained in:
2019-10-01 18:49:38 +02:00
parent 82f0946ebe
commit a150d46b8e
5 changed files with 135 additions and 8 deletions

View File

@ -4,8 +4,16 @@
#define _cssfixes_included
forward void OnRunThinkFunctions(bool simulating);
forward void OnPrePlayerThinkFunctions();
forward void OnPostPlayerThinkFunctions();
forward void OnRunThinkFunctionsPost(bool simulating);
// -1 = Ignore, normal operation.
// 0 = Block ALL SV_TriggerMoved.
// >0 = Entity index for which to allow EnumElement to be called.
// REMEMBER TO CALL THIS AGAIN WITH -1 AFTER USING IT !!!
native void FilterTriggerMoved(int entity);
public Extension __ext_CSSFixes =
{
name = "CSSFixes",