Skip to content

cache_get_value_name_float

imshooter edited this page Nov 29, 2026 · 1 revision

Read a cell of the active cache as a float, by the name of its field.

native bool:cache_get_value_name_float(row_idx, const column_name[], &Float:destination);

With open.mp names, from the same include:

native bool:Cache_GetValueNameFloat(row_idx, const column_name[], &Float:destination);

Parameters

Parameter Description
row_idx The row, from 0.
const column_name[] The name of the field, in any case.
&Float:destination Variable for the value, left as it was when the cell is not read.

Returns

  • true when it was written.
  • false when no cache is active, the row or field does not exist, or the cell is NULL.

Home

Guides

Reference

Functions

Connections
Queries
Cache
JSON cells
ORM
Queries built in pieces
Prepared statements
Batches
Transactions
Passwords
Callbacks

Clone this wiki locally