Stats::statSetDate

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

'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

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

// todo

See also

Template:Stats s function c