This is a very simple command that will put a hat on certain police peds and fireman ped when activated. By default the Highway Cop skin does not come with a hat so I have included the Highway Cop skin from a different release. This is the first script that I have written so if you have any suggestions please leave them in the comments.
Original post for where I got the add on Highway Cop.
Commands:
/hat (Toggle hat)
/sg (Toggle Sunglasses)
/mask (Toggle Fireman mask)
/gloves (Toggle gloves for Medic)
/hood (Toggle hood for your car
/vest (Applies a vest to police peds)
10/13/17 Added gloves, hat, and sunglasses for paramedic and an option to open the hood of your car
12/19/2017 Added a /vest command for police per request
neat and simple very nice , i always hate when i get punched by accident and all my props fall off the ped and then i have to reload the skin thanks for this
I added the Non ES version for VRP and other framework users. Also there is a list of peds that this works on. It does not work on the mp skin. If you are using one of the peds that is listed in the code it will work.
Now when command /hat or any command is entered it toggles the item. /hat will now put on and take off hat. Also added a gloves option for paramedics and a /hood command to toggle the hood of your car
Also I didn’t test the ES version, so if you could let me know how it works