Python library for interfacing with San Andreas Multiplayer using memory
You can install the latest version with the command:
pip install -U https://github.com/rmdlv/python-samp/archive/refs/heads/main.zip
from python_samp import SAMP, API
samp = SAMP()
api = API(samp)
username = api.get_username()
api.send_chat(f"My name is {username}")
samp.close()
Pull requests are supported! Before creating a pull request, read CONTRIBUTING.md. We are pleased to see your contribution to the development of the library. Ask questions in the Issues section and in Telegram chat!