diff --git a/plugins/include/jghg2.inc b/plugins/include/jghg2.inc index 79c26494..6320fd6f 100755 --- a/plugins/include/jghg2.inc +++ b/plugins/include/jghg2.inc @@ -8,6 +8,7 @@ #include #include +#include #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 \ No newline at end of file +#endif // INCLUDED_JGHG