
FR:

Prérequis :

- .NET Framework 4.8 (ou supérieur) — inclus par défaut dans Windows 10 (version ≥1903) et Windows 11.

- GTA V Enhanced

- SHVDN : https://fr.gta5-mods.com/tools/script-hook-v-net-enhanced

- Python (optionnel)


Installation :

Il suffit de déposer dans le dossier scripts de votre GTA V les fichiers/dossiers suivants :

- PythonDispatcher.dll

- PythonDispatcher.ini

- PythonDispatcher.pdb

- scripts_py

Description :

PythonDispatcher vous permet d’exécuter des scripts Python dans GTA V Enhanced.
Pour cela, il suffit de créer un fichier .py dans le dossier scripts_py, d’y écrire la logique que vous souhaitez, puis de lancer le jeu.

Si vous modifiez votre code, vous pouvez recharger les scripts .py en jeu en appuyant sur la touche F9 par défaut  ou le faire automatiquement (Hot-Reload) (voir le fichier .ini).

Le dossier scripts_py contient quelques exemples, dont une tentative de portage du fichier army_at_six_stars_v3, dont l’original en .vb a été créé par nj5050 — merci à lui.
Vous n’êtes pas obligé de conserver les exemples : vous pouvez tous les supprimer si vous le souhaitez.









EN:

Requirements:

- .NET Framework 4.8 (or higher) — included by default in Windows 10 (version ≥1903) and Windows 11.

- GTA V Enhanced

- SHVDN: https://fr.gta5-mods.com/tools/script-hook-v-net-enhanced

- Python (optional)


Installation:

Simply place the following files/folders in your GTA V scripts folder:

- PythonDispatcher.dll

- PythonDispatcher.ini

- PythonDispatcher.pdb

- scripts_py

Description:

PythonDispatcher allows you to run Python scripts in GTA V Enhanced.
To do this, simply create a .py file in the scripts_py folder, write the logic you want, and then launch the game.

If you modify your code, you can reload the .py scripts in-game by pressing the F9 key by default  or do it automatically (Hot-Reload) (see the .ini file).

The scripts_py folder contains a few examples, including an attempt to port the army_at_six_stars_v3 file, the original .vb version of which was created by nj5050 — thanks to him.
You don't have to keep the examples: you can delete them all if you want.