Skip to content

SET_USER_INT

Jurek Muszyński edited this page May 13, 2019 · 3 revisions

int SET_USER_INT(const char *key, long value)

Description

Saves user (long) integer setting in users_settings table. If the setting already exists, it's overwritten.

Returns

Returns OK or one of the error codes:

  • ERR_INT_SERVER_ERROR

Example

SET_USER_INT("last_order_id", order_id);

Notes

Requires USERS compilation switch.

Clone this wiki locally