🎉 Driving School is released. Read more →
Mugshot

Mugshot Installation

This tutorial is provided for my scripts that uses mugshot to get the player's faces. Credits to jonassvensson4 and Project Error for mugshot and forked screenshot-basic.

Requirements

Installation

Put Script

Put both script into your resources folder.

Imgur

Log in or register to Imgur (opens in a new tab).

Create API

Create an Imgur API here (opens in a new tab).

Application Name

Application Name can be whatever.

Auth

Choose OAuth 2 authorization without a callback URL in Authorization Type

Website

Website can be blank, fill in your the rest.

Copy the Client ID

Copy the Client ID to your mugshot/client.js. At the top replace yourImgurClientID with your Client ID of Imgur API Application.

Ensure

Ensure them in server.cfg with screenshot-basic first then mugshot

Everything should be working!