Created
June 25, 2023 15:17
-
-
Save ArKaNeMaN/13bdfa31b2262c61b3adce9845c9e893 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 <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