Now uses fakemeta for pdata stocks
This commit is contained in:
parent
e979252742
commit
745c595fc8
@ -8,6 +8,7 @@
|
||||
|
||||
#include <engine>
|
||||
#include <cstrike>
|
||||
#include <fakemeta>
|
||||
|
||||
#if !defined _jghg_enums
|
||||
#define _jghg_enums
|
||||
@ -88,35 +89,27 @@ stock get_owner(id)
|
||||
|
||||
stock get_pdata(entity, offset)
|
||||
{
|
||||
return get_offset_int(entity, offset)
|
||||
}
|
||||
stock Float:get_pdata_float(entity, offset)
|
||||
{
|
||||
return get_offset_float(entity, offset)
|
||||
return get_pdata_int(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)
|
||||
{
|
||||
return get_offset_short(entity, offset)
|
||||
return get_pdata_short(entity, offset)
|
||||
}
|
||||
stock set_pdata(entity, offset, value)
|
||||
{
|
||||
return set_offset_int(entity, offset, value)
|
||||
}
|
||||
stock set_pdata_float(entity, offset, Float:value)
|
||||
{
|
||||
return set_offset_float(entity, offset, value)
|
||||
return set_pdata_int(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)
|
||||
{
|
||||
return set_offset_short(entity, offset, value)
|
||||
return set_pdata_short(entity, offset, value)
|
||||
}
|
||||
|
||||
stock is_ent_valid(id)
|
||||
@ -169,4 +162,4 @@ stock jghg2_think(index)
|
||||
return call_think(index)
|
||||
}
|
||||
|
||||
#endif // INCLUDED_JGHG
|
||||
#endif // INCLUDED_JGHG
|
||||
|
Loading…
Reference in New Issue
Block a user