Skip to main content

Stats::statSetDate

'value' is a structure to a structure, 'numFields' is how many fields there are in said structure (usually 7).

The structure looks like this:

int year int month int day int hour int minute int second int millisecond

The decompiled scripts use TIME::GET_POSIX_TIME to fill this structure.

Syntax

```js mp.game.stats.statSetDate(statName, value, numFields, save); ```

Required Arguments

  • statName: Model hash or name
  • value: unknown (to be checked)
  • numFields: int
  • save: Boolean

Return value

  • Boolean

Example

```js // todo ```

See also