This project is a wrapper for the “samp-cef” plugin that embeds CEF into SA:MP, empowering self-expression with beautiful in-game interfaces using HTML / CSS / JavaScript.
- Before you start, you should have a SAMP server ready using PySAMP.
- Download this repository and put all in your server folder.
- Download client files and put them in your client folder.
- Run
./web/index.html
using LiveServer extension in VS Code. - Join in to the server, and test the operation.
Warning
This project currently has many flaws. I will be glad to have any help. Known issues:
- You have to import each callback function into the main file.
- Passing arguments from server to client and back again is done in a questionable way.
- Most likely the Browser class is implemented unsuccessfully.
Special thanks: Cheaterman, Ykpauneu, PySAMP Community
and Pycckue-Bnepeg for the samp-cef plugin.