SET STAT FRONTEND DISPLAY TYPE

From GTAMods Wiki
Jump to navigation Jump to search
SET_STAT_FRONTEND_DISPLAY_TYPE
Number of parameters: 2
Parameter #TypeDescription
1.IntegerStat ID
2.IntegerType
Return value:
TypeDescription
None

This function sets the stat with id will use certain type. Used integer variable with 1500 value on start, then native will converting this value into needed value.

ID Type
0 Integer
1 Float
2 Percent
3 Money
4 Integer with some spacing from right corner
5 Weight
6 Speed but without miles type
7 Distance in Miles
8 Distance in Miles
9 Time in milliseconds
11 String value
12 Boolean(draws as Checkbox)
13 String value

Examples:
ID:
0: 1500
1: 1500.00
2: 1500.00%
3: $1500
4: 1500_
5: 1500lbs
6: 0.90
7: 1500.00m
8: 1500.00m
9: 0:00:01
10: !!H
12: Checkbox On
13: !!H