Script for FiveM that takes screenshots of ingame models, and them processes the images.
Warning
This script uses rembg to process images. It will NOT work without.
It also only works on a local development server.
propscreenshotter.mp4
- Typescript
- pnpm
- NodeJS v18
- screenshot-basic
- rembg at port 5000
- Make sure to have rembg running at port 5000 (I recommend using docker)
- Make sure screenshot-basic is running
- Navigate to
src/serverand runpnpm install & pnpm start - Enter FiveM and run
screenmodel <model name> - Find the ouptut in
src/server/uploads
Limited as I don't see many people actually using this, but you can try in my discord.