native bool:get_pdata_bool(_index, _offset, _linuxdiff = 20, _macdiff = 20);
_index | Entity index. |
_offset | Offset to search. |
_linuxdiff | Linux difference. |
_macdiff | Mac OS X difference. |
Returns a boolean from an entity's private data. This function is byte-addressable. Unlike get_pdata_int() which searches in byte increments of 4, get_pdata_bool searches in increments of 1. _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. A log error is thrown on invalid _index and _offset.
An boolean value is returned.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.