- Can cache image as text anywhere (JSON, SQL, TXT)
- No need to upload anywhere
- So fast don't need to wait much to get that
- Standalone it doesn't use any function from anywhere
- Can make a mugshot from any ped, not just self player
- Optimize and get low usage (0.00 on idle and 0.01 on converting)
- Clean coding
- Brain
- Download https://github.com/BaziForYou/MugShotBase64/archive/main.zip
- Put it in the
resources
folder
- Add this in your
server.cfg
in the following order:
start MugShotBase64
Export | Description | Parameter(s) | Return type |
---|---|---|---|
GetMugShotBase64 | Returns base64 string | Ped Hanel, bool(Transpert) | string |
local MugShot = exports["MugShotBase64"]:GetMugShotBase64(PlayerPedId(), true)