Simple staff clothes script

This is a simple script for changing between staff clothes and civ clothes with /staff and /civ

i wanted to do it so you could use qb-adminmenu or txadmin to give permission to who could use it.
but i am not that good at this stuff. feel free to fix and reupload. :slight_smile:

Install is just drag and drop. ensure to start.

Code is accessible Yes
Subscription-based No
Lines (approximately) 26
Requirements none
Support No

staff_clothes.rar (734 Bytes)

3 Likes

how can you make it wear you do /staff and you put your staff clothing on? what can i do to channge it from random clothig to my staff clothig

Im pretty sure you open the client.lua
and modify the different values matching the slot and category/group from where you staff clothes is placed in the different categories:


        SetPedComponentVariation(PlayerPedId(), 3, 0, 0, 0)  -- Example: Torso
        SetPedComponentVariation(PlayerPedId(), 4, 35, 0, 0)  -- Example: Pants
        SetPedComponentVariation(PlayerPedId(), 6, 25, 0, 0)  -- Example: Shoes
        SetPedComponentVariation(PlayerPedId(), 11, 48, 0, 0)  -- Example: Tops
        SetPedComponentVariation(PlayerPedId(), 8, 15, 0, 0)  -- Example: Accessories
        SetPedComponentVariation(PlayerPedId(), 10, 1, 0, 0)  -- Example: Watches
        SetPedComponentVariation(PlayerPedId(), 1, 22, 0, 0)  -- Example: Masks
        SetPedComponentVariation(PlayerPedId(), 5, 45, 0, 0)  -- Example: Bags