forked from UNLOZE/sm-plugins
LagCompensation: block player from touching hooked trigger
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user