Stats::statSetDate

From RAGE Multiplayer Wiki
Revision as of 20:14, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

'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

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 function c