entWatch4: Nuke useless include
This commit is contained in:
parent
b9ea40015a
commit
40f9ffc9e1
@ -12,7 +12,7 @@
|
|||||||
#include <sourcemod>
|
#include <sourcemod>
|
||||||
#include <sdkhooks>
|
#include <sdkhooks>
|
||||||
#include <sdktools>
|
#include <sdktools>
|
||||||
#include <entWatch4>
|
#include <entWatch_core>
|
||||||
|
|
||||||
/* BOOLS */
|
/* BOOLS */
|
||||||
bool g_bLate;
|
bool g_bLate;
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
#pragma newdecls required
|
#pragma newdecls required
|
||||||
|
|
||||||
#include <sourcemod>
|
#include <sourcemod>
|
||||||
#include <entWatch4>
|
|
||||||
#include <entWatch_core>
|
#include <entWatch_core>
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
#pragma newdecls required
|
#pragma newdecls required
|
||||||
|
|
||||||
#include <sourcemod>
|
#include <sourcemod>
|
||||||
#include <entWatch4>
|
|
||||||
#include <entWatch_core>
|
#include <entWatch_core>
|
||||||
|
|
||||||
#define MESSAGEFORMAT "\x07%s[entWatch] \x07%s%s \x07%s(\x07%s%s\x07%s) %t \x07%s%s"
|
#define MESSAGEFORMAT "\x07%s[entWatch] \x07%s%s \x07%s(\x07%s%s\x07%s) %t \x07%s%s"
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
#include <sourcemod>
|
#include <sourcemod>
|
||||||
#include <clientprefs>
|
#include <clientprefs>
|
||||||
#include <entWatch4>
|
|
||||||
#include <entWatch_core>
|
#include <entWatch_core>
|
||||||
|
|
||||||
/* FORWARDS */
|
/* FORWARDS */
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
#if defined entWatch_included
|
|
||||||
#endinput
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define entWatch_included
|
|
||||||
|
|
||||||
#define DISPLAY_CHAT (1 << 0)
|
|
||||||
#define DISPLAY_HUD (1 << 1)
|
|
||||||
#define DISPLAY_USE (1 << 2)
|
|
||||||
|
|
||||||
enum items
|
|
||||||
{
|
|
||||||
String:item_name[32],
|
|
||||||
String:item_short[32],
|
|
||||||
String:item_color[32],
|
|
||||||
String:item_filter[32],
|
|
||||||
bool:item_owned,
|
|
||||||
item_buttonid,
|
|
||||||
item_weaponid,
|
|
||||||
item_triggerid,
|
|
||||||
item_owner,
|
|
||||||
item_button,
|
|
||||||
item_weapon,
|
|
||||||
item_trigger,
|
|
||||||
item_display,
|
|
||||||
item_mode,
|
|
||||||
item_uses,
|
|
||||||
item_maxuses,
|
|
||||||
item_nextuse,
|
|
||||||
item_cooldown,
|
|
||||||
};
|
|
@ -4,11 +4,51 @@
|
|||||||
|
|
||||||
#define entWatch_core_included
|
#define entWatch_core_included
|
||||||
|
|
||||||
|
#define DISPLAY_CHAT (1 << 0)
|
||||||
|
#define DISPLAY_HUD (1 << 1)
|
||||||
|
#define DISPLAY_USE (1 << 2)
|
||||||
|
|
||||||
|
enum items
|
||||||
|
{
|
||||||
|
String:item_name[32],
|
||||||
|
String:item_short[32],
|
||||||
|
String:item_color[32],
|
||||||
|
String:item_filter[32],
|
||||||
|
bool:item_owned,
|
||||||
|
item_buttonid,
|
||||||
|
item_weaponid,
|
||||||
|
item_triggerid,
|
||||||
|
item_owner,
|
||||||
|
item_button,
|
||||||
|
item_weapon,
|
||||||
|
item_trigger,
|
||||||
|
item_display,
|
||||||
|
item_mode,
|
||||||
|
item_uses,
|
||||||
|
item_maxuses,
|
||||||
|
item_nextuse,
|
||||||
|
item_cooldown,
|
||||||
|
};
|
||||||
|
|
||||||
|
native int EW_GetItemCount();
|
||||||
|
|
||||||
|
native void EW_GetItemArray(int index, any[] itemArray, int size);
|
||||||
|
native void EW_SetItemArray(int index, any[] itemArray, int size);
|
||||||
|
|
||||||
|
forward void EW_OnClientItemDrop(any[] itemArray, int client, int index);
|
||||||
|
forward void EW_OnClientItemDeath(any[] itemArray, int client, int index);
|
||||||
|
forward void EW_OnClientItemPickup(any[] itemArray, int client, int index);
|
||||||
|
forward void EW_OnClientItemActivate(any[] itemArray, int client, int index);
|
||||||
|
forward void EW_OnClientItemDisconnect(any[] itemArray, int client, int index);
|
||||||
|
|
||||||
|
forward Action EW_OnClientItemCanPickup(any[] itemArray, int client, int index);
|
||||||
|
forward Action EW_OnClientItemCanActivate(any[] itemArray, int client, int index);
|
||||||
|
|
||||||
public SharedPlugin __pl_entWatch_core =
|
public SharedPlugin __pl_entWatch_core =
|
||||||
{
|
{
|
||||||
name = "entWatch-core",
|
name = "entWatch-core",
|
||||||
file = "entWatch-core.smx",
|
file = "entWatch-core.smx",
|
||||||
|
|
||||||
#if defined REQUIRE_PLUGIN
|
#if defined REQUIRE_PLUGIN
|
||||||
required = 1
|
required = 1
|
||||||
#else
|
#else
|
||||||
@ -23,18 +63,4 @@ public SharedPlugin __pl_entWatch_core =
|
|||||||
MarkNativeAsOptional("EW_GetItemArray");
|
MarkNativeAsOptional("EW_GetItemArray");
|
||||||
MarkNativeAsOptional("EW_SetItemArray");
|
MarkNativeAsOptional("EW_SetItemArray");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
native int EW_GetItemCount();
|
|
||||||
|
|
||||||
native void EW_GetItemArray(int index, any[] itemArray, int size);
|
|
||||||
native void EW_SetItemArray(int index, any[] itemArray, int size);
|
|
||||||
|
|
||||||
forward void EW_OnClientItemDrop(any[] itemArray, int client, int index);
|
|
||||||
forward void EW_OnClientItemDeath(any[] itemArray, int client, int index);
|
|
||||||
forward void EW_OnClientItemPickup(any[] itemArray, int client, int index);
|
|
||||||
forward void EW_OnClientItemActivate(any[] itemArray, int client, int index);
|
|
||||||
forward void EW_OnClientItemDisconnect(any[] itemArray, int client, int index);
|
|
||||||
|
|
||||||
forward Action EW_OnClientItemCanPickup(any[] itemArray, int client, int index);
|
|
||||||
forward Action EW_OnClientItemCanActivate(any[] itemArray, int client, int index);
|
|
Loading…
Reference in New Issue
Block a user