mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Now uses fakemeta for pdata stocks
This commit is contained in:
parent
e979252742
commit
745c595fc8
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include <engine>
|
#include <engine>
|
||||||
#include <cstrike>
|
#include <cstrike>
|
||||||
|
#include <fakemeta>
|
||||||
|
|
||||||
#if !defined _jghg_enums
|
#if !defined _jghg_enums
|
||||||
#define _jghg_enums
|
#define _jghg_enums
|
||||||
@ -88,35 +89,27 @@ stock get_owner(id)
|
|||||||
|
|
||||||
stock get_pdata(entity, offset)
|
stock get_pdata(entity, offset)
|
||||||
{
|
{
|
||||||
return get_offset_int(entity, offset)
|
return get_pdata_int(entity, offset)
|
||||||
}
|
|
||||||
stock Float:get_pdata_float(entity, offset)
|
|
||||||
{
|
|
||||||
return get_offset_float(entity, offset)
|
|
||||||
}
|
}
|
||||||
stock get_pdata_char(entity, offset)
|
stock get_pdata_char(entity, offset)
|
||||||
{
|
{
|
||||||
return get_offset_char(entity, offset)
|
return get_pdata_char(entity, offset)
|
||||||
}
|
}
|
||||||
stock get_pdata_short(entity, offset)
|
stock get_pdata_short(entity, offset)
|
||||||
{
|
{
|
||||||
return get_offset_short(entity, offset)
|
return get_pdata_short(entity, offset)
|
||||||
}
|
}
|
||||||
stock set_pdata(entity, offset, value)
|
stock set_pdata(entity, offset, value)
|
||||||
{
|
{
|
||||||
return set_offset_int(entity, offset, value)
|
return set_pdata_int(entity, offset, value)
|
||||||
}
|
|
||||||
stock set_pdata_float(entity, offset, Float:value)
|
|
||||||
{
|
|
||||||
return set_offset_float(entity, offset, value)
|
|
||||||
}
|
}
|
||||||
stock set_pdata_char(entity, offset, value)
|
stock set_pdata_char(entity, offset, value)
|
||||||
{
|
{
|
||||||
return set_offset_char(entity, offset, value)
|
return set_pdata_char(entity, offset, value)
|
||||||
}
|
}
|
||||||
stock set_pdata_short(entity, offset, value)
|
stock set_pdata_short(entity, offset, value)
|
||||||
{
|
{
|
||||||
return set_offset_short(entity, offset, value)
|
return set_pdata_short(entity, offset, value)
|
||||||
}
|
}
|
||||||
|
|
||||||
stock is_ent_valid(id)
|
stock is_ent_valid(id)
|
||||||
|
Loading…
Reference in New Issue
Block a user