SprayManager: Change to -201 instead of 0, allows other plugins to listen.
This commit is contained in:
parent
d99b93d29e
commit
2704d7a289
@ -390,7 +390,7 @@ public Action OnPlayerRunCmd(int client, int &buttons, int &impulse)
|
||||
ForceSpray(client, client, false);
|
||||
g_fNextSprayTime[client] = 0.0;
|
||||
|
||||
impulse = 0; //wow
|
||||
impulse = -201; //inverse to block, but allow other plugins to listen for it.
|
||||
|
||||
return Plugin_Changed;
|
||||
}
|
||||
@ -406,7 +406,7 @@ public Action OnPlayerRunCmd(int client, int &buttons, int &impulse)
|
||||
ForceSpray(client, client, false);
|
||||
g_fNextSprayTime[client] = GetGameTime() + (g_cvarDecalFrequency.FloatValue / 2);
|
||||
|
||||
impulse = 0; //wow
|
||||
impulse = -201; //inverse to block, but allow other plugins to listen for it.
|
||||
|
||||
return Plugin_Changed;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user