Last active
June 14, 2023 09:08
-
-
Save ArKaNeMaN/db60225785d7e5bac1a73bf7a8466ab2 to your computer and use it in GitHub Desktop.
Integration AWP Limiter by Nordic Warrior with Vip Modular
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 <awp_limiter_n> | |
#include <VipModular> | |
public stock const PluginName[] = "[VipM-L] AWP Limiter Support"; | |
public stock const PluginVersion[] = "1.0.0"; | |
public stock const PluginAuthor[] = "ArKaNeMaN"; | |
public stock const PluginURL[] = "t.me/arkanaplugins"; | |
public stock const PluginDescription[] = "Limit by AWP Limiter by Nordic Warrior for Vip Modular."; | |
new const LIMIT_NAME[] = "AWPLimiter-CanTakeAwp"; | |
public VipM_OnInitModules() { | |
register_plugin(PluginName, PluginVersion, PluginAuthor); | |
VipM_Limits_RegisterType(LIMIT_NAME, true, false); | |
VipM_Limits_RegisterTypeEvent(LIMIT_NAME, Limit_OnCheck, "@OnCheck"); | |
} | |
@OnCheck(const Trie:tParams, const UserId) { | |
return awpl_can_player_take_awp(UserId); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment