entity_set_float

Синтаксис

native entity_set_float(iIndex, iKey, Float:iVal);

Употреба

iIndex
Entity index
iKey
Entry to write to
iVal
Value to set

Описание

Sets a float type value in an entities entvar struct.

Забележка

For a list of valid float type entries, see the EV_FL_* constants in
engine_const.inc

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

1 if value was sucessfully set, 0 if an invalid entry was
specified

Грешка

If an invalid entity index is provided, an error will be
thrown.