Haut
  • FR
Se connecter au site
  • Mods et fichiers
    • Tous les fichiers
    • Exclusivités
    • Fichiers d'auteurs
    • Meilleurs fichiers de la semaine
    • Télécharger le fichier
  • Nouvelles
  • Triches
  • Articles
  • Guides
    GTA 6 GTA 5 GTA San Andreas GTA 4 GTA Vice City GTA 3 Red Dead Redemption 2 Red Dead Redemption Autres jeux Développement de mods Autre
  • Mods et fichiers
  • Ressources
  • Sources de scripts
  • Solutions prêtes pour la gestion des statistiques des joueurs (GTA 5 SP, C#)

Solutions prêtes pour la gestion des statistiques des joueurs (GTA 5 SP, C#)

  • Solutions prêtes pour la gestion des statistiques des joueurs (GTA 5 SP, C#) / Ressources
Ressources / Sources de scripts
Auteur:
andre500
Plus de détails
Téléchargé:
andre500 S'abonner Vous êtes abonné
Taille:
11.83 Ko
Téléchargé:
13 août 2020
Téléchargements:
27
Nombre total de téléchargements: 27
Téléchargements uniques: 14
10 / 10
3 personnes ont évalué le fichier
xam_xam
Kiriller12
daniel 360
Personne n'a encore évalué le fichier.
Télécharger Télécharger sur Telegram Télécharger sur Discord
Dans les favoris Dans les favoris
  • 1597315653_stats.rar
    Vérification des virus par Virustotal : le fichier est sûr (voir le rapport)
    Télécharger (0.01 MB)

Solutions prêtes pour gérer les statistiques des personnages en mode solo dans GTA 5 en C#. Les fonctions ont été clarifiées et adaptées, donc au lieu de

Function.Call(Hash.STAT_SET_INT, Game.GenerateHash(statName), statValue, true);

vous pouvez utiliser

StatSetInt(string statName, int statValue);

Liste complète des fonctions :

* StatSetInt(string statName, int statValue) - définir une valeur entière dans la statistique ;

* StatSetFloat(string statName, float statValue) - définir une valeur flottante dans la statistique ;

* StatGetInt(string statName) - obtenir une valeur entière de la statistique ;

* StatGetFloat(string statName) - obtenir une valeur flottante de la statistique ;

* StatAddInt(string statName, int addValue) - ajouter un entier à la statistique ;

* StatAddFloat(string statName, float addValue) - ajouter un flottant à la statistique ;

* StatDecreaseInt(string statName, int decreaseValue) - soustraire un entier de la statistique ;

* StatDecreaseFloat(string statName, float decreaseValue) - soustraire un flottant de la statistique

Dans l'archive, il y a aussi une liste complète des noms de statistiques de LazyGamer. Chaque nom de statistique a un préfixe désignant un personnage spécifique :

SP0 - Michael

SP1 - Franklin

SP2 - Trevor

Le nom et la description du fichier ont été traduits. Afficher l'original (RU)Afficher la traduction (FR)
Готовые решения для работы со статистикой игроков (GTA 5 SP, C#)

Готовые решения для работы со статистикой персонажей в одиночном режиме GTA 5 на C#. Функции были приведены в понятный и адекватный вид, поэтому вместо

Function.Call(Hash.STAT_SET_INT, Game.GenerateHash(statName), statValue, true);

можно использовать

StatSetInt(string statName, int statValue);

Полный список функций:

* StatSetInt(string statName, int statValue) - установить целое значение в статистику;

* StatSetFloat(string statName, float statValue) - установить дробное значение в статистику;

* StatGetInt(string statName) - получить целое значение из статистики;

* StatGetFloat(string statName) - получить дробное значение из статистики;

* StatAddInt(string statName, int addValue) - добавить целое число в статистику;

* StatAddFloat(string statName, float addValue) - добавить дробное число в статистику;

* StatDecreaseInt(string statName, int decreaseValue) - отнять целое число из статистики;

* StatDecreaseFloat(string statName, float decreaseValue) - отнять дробное число из статистики

В архиве также лежит полный список названий статистик от LazyGamer. У каждого названия статистики есть префикс, обозначающий конкретного персонажа:

SP0 - Майкл

SP1 - Франклин

SP2 - Тревор

Commentaires 1
© 2008 - 2025 LibertyCity
Créateur et développeur : Evgenii Sokolov
La reproduction de matériaux sans l'autorisation de l'administration ou des propriétaires concernés est strictement interdite.
Nous contacter
Version mobile Version pour ordinateurs
Mods et fichiers Nouvelles et articles Trucs et astuces Utilisateurs
Cliquez ici pour une recherche avancée de fichiers.