Skip to content

cache_get_field_index

imshooter edited this page Nov 29, 2026 · 1 revision

The index of a field of the active cache.

native cache_get_field_index(const column_name[]);

With open.mp names, from the same include:

native Cache_GetFieldIndex(const column_name[]);

Parameters

Parameter Description
const column_name[] The name of the field, in any case.

Returns

  • The field, from 0.
  • -1 when no cache is active, or the field does not exist.

Home

Guides

Reference

Functions

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

Clone this wiki locally