Scripthookvpy3k
An ASI plugin for Grand Theft Auto V which allows running scripts written in Python 3 in game.
Install / Use
/learn @lgrahl/Scripthookvpy3kREADME
Script Hook V Py3k
This is an ASI plugin for Grand Theft Auto V that allows you to execute Python 3 scripts in game by using the Script Hook V from Alexander Blade.
Features
- All native functions accessible
- Scripts run as lightweight asynchronous tasks
- High level requirement functions can be chained and waited for
- All the fancy Python packages out there can be used and...
- Dependencies will be installed automatically
Download
Prebuilt binaries can be found on the releases page.
Installation
- Install the Script Hook V
- Install Python 3.5.0 for Windows x64
- Copy the contents of the downloaded archive into your GTA V game folder
Writing Scripts
To get started on writing scripts, head over to this wiki page.
Contributing
All contributions are warmly welcomed. Below are a few hints to the entry points of the code and a link to our to do list.
Entry Points
Py3kWrapperStartin wrapper.cpp is the entry point for the C++ part of the plugin_initin the gta module is the entry point for the Python part of the plugin
Todo
See TODO.md.
Building
If you want to build the ASI plugin yourself, you'll need:
- Visual Studio 2013
- The Script Hook V SDK which has to be extracted into /sdk after downloading
- SWIG Version >= 3.0.5 which has to be extracted into /swig after downloading
- Python 3.5.0 for AMD64/EM64T/x64. Using the x86 version will not work!
- Open the project file and build the solution in Release configuration
Related Skills
node-connect
348.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
