LagCompensation: block player from touching hooked trigger

This commit is contained in:
BotoX
2019-10-04 11:23:05 +02:00
parent 4599b5a67b
commit aafc5a275e
2 changed files with 18 additions and 4 deletions
+9
View File
@@ -14,8 +14,17 @@ forward void OnRunThinkFunctionsPost(bool simulating);
// REMEMBER TO CALL THIS AGAIN WITH -1 AFTER USING IT !!!
native void FilterTriggerMoved(int entity);
// -1 = Ignore, normal operation.
// 0 = Block ALL SV_TriggerMoved.
// >0 = Entity index for which to allow SV_TriggerMoved to be called.
// REMEMBER TO CALL THIS AGAIN WITH -1 AFTER USING IT !!!
native void BlockSolidMoved(int entity);
// entities is an array which maps from entindex to a truth value
// if the value is true then SolidMoved will not see this entity
// REMEMBER TO CALL THIS WITH SIZE 0 0N PLUGIN END !!!
native void FilterSolidMoved(int[] entities, int size);
public Extension __ext_CSSFixes =
{
name = "CSSFixes",