File tree Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Expand file tree Collapse file tree 2 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 11import * as alt from 'alt-server' ;
22import { useCharacter } from '@Server/document/character.js' ;
33import { Character , ClothingComponent } from '@Shared/types/index.js' ;
4+ import { ClothingKey , PropKey } from '@Shared/data/clothingKeys.js' ;
45
56const fModel = alt . hash ( 'mp_f_freemode_01' ) ;
67const mModel = alt . hash ( `mp_m_freemode_01` ) ;
78
8- const ClothingKey = {
9- head : 0 ,
10- mask : 1 ,
11- torso : 3 ,
12- legs : 4 ,
13- bag : 5 ,
14- shoes : 6 ,
15- accessories : 7 ,
16- undershirts : 8 ,
17- bodyarmor : 9 ,
18- decals : 10 ,
19- tops : 11 ,
20- } ;
21-
22- const PropKey = {
23- hat : 0 ,
24- glasses : 1 ,
25- ears : 2 ,
26- watch : 6 ,
27- bracelet : 7 ,
28- } ;
29-
309let femaleClothes = {
3110 0 : 1 , // mask
3211 3 : 15 , // torso
Original file line number Diff line number Diff line change 1+ export const ClothingKey = {
2+ head : 0 ,
3+ mask : 1 ,
4+ torso : 3 ,
5+ legs : 4 ,
6+ bag : 5 ,
7+ shoes : 6 ,
8+ accessories : 7 ,
9+ undershirts : 8 ,
10+ bodyarmor : 9 ,
11+ decals : 10 ,
12+ tops : 11
13+ } ;
14+
15+ export const PropKey = {
16+ hat : 0 ,
17+ glasses : 1 ,
18+ ears : 2 ,
19+ watch : 6 ,
20+ bracelet : 7
21+ } ;
You can’t perform that action at this time.
0 commit comments