(DarkRP) Apply entity on job spawn

I’m wondering how I would go about coding so that a useable entity (gas mask) is applied on the player every time they spawn while also being in a specific job (riot officer).

You can use the code below to add an extra field to your job to give it a weapon or an entity when the player spawns:

PlayerSpawn = function(ply)

More information here: DarkRP:CustomJobFields - DarkRP

Alright, I’ll try that. Thanks!