Removed ns_*_icon

This commit is contained in:
Steve Dudenhoeffer 2004-09-05 15:53:46 +00:00
parent d20e9527f7
commit a66d04d26f
2 changed files with 0 additions and 23 deletions

View File

@ -299,23 +299,6 @@ static cell AMX_NATIVE_CALL ns_set_deaths(AMX *amx, cell *params)
set_private(player->edict,OFFSET_WIN_DEATHS,OFFSET_LIN_DEATHS,(int)params[2]);
return 1;
}
static cell AMX_NATIVE_CALL ns_get_icon(AMX *amx, cell *params)
{
int id = params[1];
if (id < 1 || id > gpGlobals->maxClients)
return 0;
CPlayer *player = GET_PLAYER_I(id);
return get_private(player->edict,OFFSET_WIN_ICON,OFFSET_LIN_ICON);
}
static cell AMX_NATIVE_CALL ns_set_icon(AMX *amx, cell *params)
{
int id = params[1];
if (id < 1 || id > gpGlobals->maxClients)
return 0;
CPlayer *player = GET_PLAYER_I(id);
set_private(player->edict,OFFSET_WIN_ICON,OFFSET_LIN_ICON,(int)params[2]);
return 1;
}
static cell AMX_NATIVE_CALL ns_get_struct_owner(AMX *amx, cell *params)
{
@ -375,9 +358,6 @@ AMX_NATIVE_INFO ns_pdata_natives[] = {
{ "ns_get_deaths", ns_get_deaths },
{ "ns_set_deaths", ns_set_deaths },
{ "ns_get_icon", ns_get_icon },
{ "ns_set_icon", ns_set_icon },
{ "ns_get_hive_trait", ns_get_hive_trait },
{ "ns_set_hive_trait", ns_set_hive_trait },

View File

@ -53,9 +53,6 @@
#define OFFSET_WIN_DEATHS 1176
#define OFFSET_LIN_DEATHS 1196
#define OFFSET_WIN_ICON 1572
#define OFFSET_LIN_ICON 6300
#define OFFSET_WIN_STRUCTOWNER 120
#define OFFSET_LIN_STRUCTOWNER 136