Skip to content

Instantly share code, notes, and snippets.

@ArKaNeMaN
Created June 25, 2023 15:17
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/13bdfa31b2262c61b3adce9845c9e893 to your computer and use it in GitHub Desktop.
Save ArKaNeMaN/13bdfa31b2262c61b3adce9845c9e893 to your computer and use it in GitHub Desktop.
#include <amxmodx>
#include <VipModular>
native GiveUserMolotov(const UserId);
/*
Example:
{
"Type": "Medusa-Molotov"
}
*/
public stock const PluginName[] = "[VipM-I] Medusa's Molotov";
public stock const PluginVersion[] = "1.0.0";
public stock const PluginAuthor[] = "ArKaNeMaN";
public stock const PluginURL[] = "t.me/arkanaplugins";
public stock const PluginDescription[] = "[VipModular-Item] Integration with Molotov by Medusa";
new const ITEM_NAME[] = "Medusa-Molotov";
public VipM_IC_OnInitTypes() {
register_plugin(PluginName, PluginVersion, PluginAuthor);
VipM_IC_RegisterType(ITEM_NAME);
VipM_IC_RegisterTypeEvent(ITEM_NAME, ItemType_OnGive, "@OnGive");
}
@OnGive(const UserId) {
GiveUserMolotov(UserId);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment