#if defined entWatch_core_included #endinput #endif #define entWatch_core_included /* REGISTERS */ #define REGISTER_WEAPON 1 #define REGISTER_BUTTON 2 #define REGISTER_TRIGGER 3 /* MODES */ #define MODE_COOLDOWN 1 #define MODE_MAXUSES 2 #define MODE_COOLDOWNMAXUSES 3 #define MODE_COOLDOWNCHARGES 4 /* CLASSES */ #include #include "../classes/CConfig.inc" #include "../classes/CItem.inc" public SharedPlugin __pl_entWatch_core = { name = "entWatch-core", file = "entWatch-core.smx", #if defined REQUIRE_PLUGIN required = 1 #else required = 0 #endif }; #if !defined REQUIRE_PLUGIN public void __pl_entWatch_core_SetNTVOptional() { MarkNativeAsOptional("EW_GetItemCount"); } #endif native int EW_GetItemCount(); native CItem EW_GetItemData(int index); forward void EW_OnClientItemDrop(int client, int index); forward void EW_OnClientItemDeath(int client, int index); forward void EW_OnClientItemPickup(int client, int index); forward void EW_OnClientItemActivate(int client, int index); forward void EW_OnClientItemDisconnect(int client, int index); forward Action EW_OnClientItemCanPickup(int client, int index); forward Action EW_OnClientItemCanActivate(int client, int index);