Skip to content

cache_get_field_count

imshooter edited this page Nov 29, 2026 · 1 revision

The fields of the active cache.

native bool:cache_get_field_count(&destination);

With open.mp names, from the same include:

native bool:Cache_GetFieldCount(&destination);

Parameters

Parameter Description
&destination Variable for the number of fields.

Returns

  • true when it was written.
  • false when no cache is active.

Home

Guides

Reference

Functions

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

Clone this wiki locally