Skip to content

Instantly share code, notes, and snippets.

@ArKaNeMaN
Last active June 14, 2023 09:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArKaNeMaN/db60225785d7e5bac1a73bf7a8466ab2 to your computer and use it in GitHub Desktop.
Save ArKaNeMaN/db60225785d7e5bac1a73bf7a8466ab2 to your computer and use it in GitHub Desktop.
Integration AWP Limiter by Nordic Warrior with Vip Modular
#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