native set_pdata_bool(_index, _offset, bool:_value, _linuxdiff = 20, _macdiff = 20);


Entity index.
Offset to search.
Value to set.
Linux difference.
Mac OS X difference.


Sets a boolean to an entity's private data.

This function is byte-addressable. Unlike set_pdata_int() which searches in byte increments of 4,
set_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.

Връщаща стойност

1 on success.