Signature
native Float:get_pdata_float(_index, _Offset, _linuxdiff = 5, _macdiff = 5);
Description
Returns a float from an entity's private data.
Notes
- _linuxdiff value is what to add to the _Offset for linux servers.
- _macdiff value is what to add to the _Offset for os x servers.
Parameters
- _index — Entity index.
- _Offset — Offset to search.
- _linuxdiff — Linux difference.
- _macdiff — Mac OS X difference.
Returns
An float value is returned.
Errors
- A log error is thrown on invalid _index and _offset.