forked from UNLOZE/sm-plugins
entWatch4: Add native, and comment old code.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include <sourcemod>
|
||||
#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"
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
@@ -37,9 +37,9 @@ public void OnPluginStart()
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
public void EW_OnClientItemDrop(any[] itemArray, int client, int index)
|
||||
public void EW_OnClientItemDrop(int client, int index)
|
||||
{
|
||||
if (itemArray[item_display] & DISPLAY_CHAT)
|
||||
/* if (itemArray[item_display] & DISPLAY_CHAT)
|
||||
{
|
||||
char sName[32];
|
||||
GetClientName(client, sName, sizeof(sName));
|
||||
@@ -49,15 +49,15 @@ public void EW_OnClientItemDrop(any[] itemArray, int client, int index)
|
||||
|
||||
CRemoveTags(sName, sizeof(sName));
|
||||
CPrintToChatAll(MESSAGEFORMAT, "E01B5D", "EDEDED", sName, "E562BA", "B2B2B2", sAuth, "E562BA", "Item Drop", itemArray[item_color], itemArray[item_name]);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
public void EW_OnClientItemDeath(any[] itemArray, int client, int index)
|
||||
public void EW_OnClientItemDeath(int client, int index)
|
||||
{
|
||||
if (itemArray[item_display] & DISPLAY_CHAT)
|
||||
/* if (itemArray[item_display] & DISPLAY_CHAT)
|
||||
{
|
||||
char sName[32];
|
||||
GetClientName(client, sName, sizeof(sName));
|
||||
@@ -67,15 +67,15 @@ public void EW_OnClientItemDeath(any[] itemArray, int client, int index)
|
||||
|
||||
CRemoveTags(sName, sizeof(sName));
|
||||
CPrintToChatAll(MESSAGEFORMAT, "E01B5D", "EDEDED", sName, "F1B567", "B2B2B2", sAuth, "F1B567", "Item Death", itemArray[item_color], itemArray[item_name]);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
public void EW_OnClientItemPickup(any[] itemArray, int client, int index)
|
||||
public void EW_OnClientItemPickup(int client, int index)
|
||||
{
|
||||
if (itemArray[item_display] & DISPLAY_CHAT)
|
||||
/* if (itemArray[item_display] & DISPLAY_CHAT)
|
||||
{
|
||||
char sName[32];
|
||||
GetClientName(client, sName, sizeof(sName));
|
||||
@@ -85,15 +85,15 @@ public void EW_OnClientItemPickup(any[] itemArray, int client, int index)
|
||||
|
||||
CRemoveTags(sName, sizeof(sName));
|
||||
CPrintToChatAll(MESSAGEFORMAT, "E01B5D", "EDEDED", sName, "C9EF66", "B2B2B2", sAuth, "C9EF66", "Item Pickup", itemArray[item_color], itemArray[item_name]);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
public void EW_OnClientItemDisconnect(any[] itemArray, int client, int index)
|
||||
public void EW_OnClientItemDisconnect(int client, int index)
|
||||
{
|
||||
if (itemArray[item_display] & DISPLAY_CHAT)
|
||||
/* if (itemArray[item_display] & DISPLAY_CHAT)
|
||||
{
|
||||
char sName[32];
|
||||
GetClientName(client, sName, sizeof(sName));
|
||||
@@ -103,15 +103,15 @@ public void EW_OnClientItemDisconnect(any[] itemArray, int client, int index)
|
||||
|
||||
CRemoveTags(sName, sizeof(sName));
|
||||
CPrintToChatAll(MESSAGEFORMAT, "E01B5D", "EDEDED", sName, "F1B567", "B2B2B2", sAuth, "F1B567", "Item Disconnect", itemArray[item_color], itemArray[item_name]);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
public void EW_OnClientItemActivate(any[] itemArray, int client, int index)
|
||||
public void EW_OnClientItemActivate(int client, int index)
|
||||
{
|
||||
if (itemArray[item_display] & DISPLAY_USE)
|
||||
/* if (itemArray[item_display] & DISPLAY_USE)
|
||||
{
|
||||
char sName[32];
|
||||
GetClientName(client, sName, sizeof(sName));
|
||||
@@ -121,5 +121,5 @@ public void EW_OnClientItemActivate(any[] itemArray, int client, int index)
|
||||
|
||||
CRemoveTags(sName, sizeof(sName));
|
||||
CPrintToChatAll(MESSAGEFORMAT, "E01B5D", "EDEDED", sName, "67ADDF", "B2B2B2", sAuth, "67ADDF", "Item Activate", itemArray[item_color], itemArray[item_name]);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
Reference in New Issue
Block a user