Skip to content

cache_set_result

imshooter edited this page Nov 29, 2026 · 1 revision

Choose the result of the active cache that is read.

native bool:cache_set_result(result_index);

With open.mp names, from the same include:

native bool:Cache_SetResult(result_index);

Parameters

Parameter Description
result_index The result, from 0.

Returns

  • true when it was chosen.
  • false when no cache is active, or the result 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