Closed e54385991 closed 4 years ago
Like public Action fnemotes_OnEmote_Pre(int client) { if(Timer_InsideZone(client,MAIN_START) != -1 || Timer_InsideZone(client,MAIN_END) != -1 || Timer_InsideZone(client,BONUS_START) != -1 || Timer_InsideZone(client,BONUS_END) != -1 || Timer_InsideZone(client,ANTICHEAT) != -1 || Timer_InsideZone(client,FREESTYLE) != -1 || Timer_InsideZone(client,SLIDE) != -1) { PrintToChat(client," Can't use emotes in timer zone."); return Plugin_Handled; }
return Plugin_Continue;
}
Like public Action fnemotes_OnEmote_Pre(int client) { if(Timer_InsideZone(client,MAIN_START) != -1 || Timer_InsideZone(client,MAIN_END) != -1 || Timer_InsideZone(client,BONUS_START) != -1 || Timer_InsideZone(client,BONUS_END) != -1 || Timer_InsideZone(client,ANTICHEAT) != -1 || Timer_InsideZone(client,FREESTYLE) != -1 || Timer_InsideZone(client,SLIDE) != -1) { PrintToChat(client," Can't use emotes in timer zone."); return Plugin_Handled; }
}