set_pdata_float

Синтаксис

native set_pdata_float(_index, _Offset, Float:_Value, _linuxdiff = 5, _macdiff = 5);

Употреба

_index
Entity index.
_Offset
Offset to search.
_Value
Value to set.
_linuxdiff
Linux difference.
_macdiff
Mac OS X difference.

Описание

Sets a float to an entity's private data.

_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.