Created
June 6, 2023 19:51
-
-
Save ArKaNeMaN/a5607b74e991646fb0754e7dd8ba3a0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <amxmodx> | |
#include <map_manager> | |
#include <VipModular> | |
new const LIMIT_NAME[] = "MMM-VoteStarted"; | |
public VipM_OnInitModules() { | |
register_plugin("[VipM-I] Map Manager Modular", "1.0.0", "ArKaNeMaN"); | |
VipM_Limits_RegisterType(LIMIT_NAME, false, true); | |
} | |
public mapm_vote_started() { | |
VipM_Limits_SetStaticValue(LIMIT_NAME, true); | |
} | |
public mapm_vote_canceled() { | |
VipM_Limits_SetStaticValue(LIMIT_NAME, false); | |
} | |
public mapm_vote_finished() { | |
VipM_Limits_SetStaticValue(LIMIT_NAME, false); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment