Skip to content

orm_addvar_int

imshooter edited this page Dec 1, 2026 · 2 revisions

Map an integer variable to a field of an ORM.

native bool:orm_addvar_int(ORM:id, &var, const columnname[]);

With open.mp names, from the same include:

native bool:ORM_AddVariableInt(ORM:id, &var, const columnname[]);

Parameters

Parameter Description
ORM:id The ORM.
&var The variable, which must outlive the ORM.
const columnname[] The field.

Returns

  • true when it was mapped.
  • false when the ORM does not exist, or the field is mapped already.

Home

Guides

Reference

Functions

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

Clone this wiki locally