Ready-made solutions for working with player statistics (GTA 5 SP, C#)
Ready-made solutions for working with character statistics in GTA 5 single player mode in C#. The functions were brought to a clear and adequate form, so instead of
Function.Call(Hash.STAt_SEt_INT, Game.GenerateHash(statName), statValue, true);
you can use
StatSetInt(string statName, int statValue);
Full list of functions:
* StatSetInt(string statName, int statValue) - set integer value to statistics;
* StatSetFloat(string statName, float statValue) - set a fractional value to statistics;
* StatGetInt(string statName) - get an integer value from statistics;
* StatGetFloat(string statName) - get a fractional value from statistics;
* StatAddInt(string statName, int addValue) - add an integer to statistics;
* StatAddFloat(string statName, float addValue) - add a fractional number to statistics;
* StatDecreaseInt(string statName, int decreaseValue) - subtract an integer from statistics;
* StatDecreaseFloat(string statName, float decreaseValue) - subtract a fractional number from the statistics
The archive also contains a complete list of statistic names from LazyGamer. Each stat name has a character-specific prefix:
SP0 - Michael
SP1 - Franklin
SP2 - Trevor
Function.Call(Hash.STAt_SEt_INT, Game.GenerateHash(statName), statValue, true);
you can use
StatSetInt(string statName, int statValue);
Full list of functions:
* StatSetInt(string statName, int statValue) - set integer value to statistics;
* StatSetFloat(string statName, float statValue) - set a fractional value to statistics;
* StatGetInt(string statName) - get an integer value from statistics;
* StatGetFloat(string statName) - get a fractional value from statistics;
* StatAddInt(string statName, int addValue) - add an integer to statistics;
* StatAddFloat(string statName, float addValue) - add a fractional number to statistics;
* StatDecreaseInt(string statName, int decreaseValue) - subtract an integer from statistics;
* StatDecreaseFloat(string statName, float decreaseValue) - subtract a fractional number from the statistics
The archive also contains a complete list of statistic names from LazyGamer. Each stat name has a character-specific prefix:
SP0 - Michael
SP1 - Franklin
SP2 - Trevor
Category:
Section:
Author:
andre500
E-mail / website:
Unknown
File size:
11.83 Kb
File replaces:
Unknown
Uploaded:
Downloads:
25
Download file
Download From Telegram
fast and easy
fast and easy
-
1597315653_stats.rarDownload (0.01 MB)Password: libertycity
Recommended files
Comments 1