gta.setGameStat

Revision as of 11:13, 12 December 2019 by Mex (talk | contribs) (Created page with "{{ScriptItem |endpoint = client |type = function |name = gta.setGameStat |parameters = int statId, int statValue |parameter1 = int statId The ID for a game stat. |parameter2 =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

void gta.setGameStat(int statId, int statValue)

The gta.setGameStat function is used to change the value for a game stat.

Parameters

1) int statId The ID for a game stat.
2) int statValue The new value for the game stat.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

      gta.getGameStat
      gta.setGameStat