mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 11:43:22 +00:00
crescendo control: Add flag bypass
This commit is contained in:
parent
62788435d4
commit
b62a044d44
2 changed files with 3 additions and 0 deletions
Binary file not shown.
|
@ -84,6 +84,9 @@ public Action Timer_GetFlows(Handle h) {
|
||||||
|
|
||||||
public Action Event_ButtonPress(const char[] output, int entity, int client, float delay) {
|
public Action Event_ButtonPress(const char[] output, int entity, int client, float delay) {
|
||||||
if(hEnabled.BoolValue && client > 0 && client <= MaxClients) {
|
if(hEnabled.BoolValue && client > 0 && client <= MaxClients) {
|
||||||
|
AdminId admin = GetUserAdmin(client);
|
||||||
|
if(admin != INVALID_ADMIN_ID && admin.HasFlag(Admin_Custom1)) return Plugin_Continue;
|
||||||
|
|
||||||
if(panicStarted) {
|
if(panicStarted) {
|
||||||
panicStarted = false;
|
panicStarted = false;
|
||||||
return Plugin_Continue;
|
return Plugin_Continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue