Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int GET_ENTITY_TYPE(Entity entity);
- Returns:
- 0 = no entity
- 1 = ped
- 2 = vehicle
- 3 = object
- _GET_NUM_PROPS_FROM_OUTFIT #
- // 0x9BDF59818B1E38C1 0x594E862C
- // GetNumPropsFromOutfit
- int _GET_NUM_PROPS_FROM_OUTFIT(int character, int p1, int p2, BOOL p3, int p4, int componentId);
- character is 0 for Michael, 1 for Franklin, 2 for Trevor, 3 for freemode male, and 4 for freemode female.
- componentId is between 0 and 11 and corresponds to the usual component slots.
- p1 could be the outfit number; unsure.
- p2 is usually -1; unknown function.
- p3 appears to be a boolean flag; unknown function.
- p4 is usually -1; unknown function.
- 0xF3FBE2D50A6A8C28 0x1ECD23E7
- int 0xF3FBE2D50A6A8C28(int character, BOOL p1);
- characters
- 0: Michael
- 1: Franklin
- 2: Trevor
- 3: MPMale
- 4: MPFemale
- SET_PED_HEAD_OVERLAY #
- // 0x48F44967FA05CC1E 0xD28DBA90
- // SetPedHeadOverlay
- void SET_PED_HEAD_OVERLAY(Ped ped, int overlayID, int index, float opacity);
- OverlayID ranges from 0 to 12, index from 0 to _GET_NUM_OVERLAY_VALUES(overlayID)-1, and opacity from 0.0 to 1.0.
- overlayID Part Index, to disable
- 0 Blemishes 0 - 23, 255
- 1 Facial Hair 0 - 28, 255
- 2 Eyebrows 0 - 33, 255
- 3 Ageing 0 - 14, 255
- 4 Makeup 0 - 74, 255
- 5 Blush 0 - 6, 255
- 6 Complexion 0 - 11, 255
- 7 Sun Damage 0 - 10, 255
- 8 Lipstick 0 - 9, 255
- 9 Moles/Freckles 0 - 17, 255
- 10 Chest Hair 0 - 16, 255
- 11 Body Blemishes 0 - 11, 255
- 12 Add Body Blemishes 0 - 1, 255
- SET_PED_DECORATION #
- // 0x5F5D1665E352A839 0x70559AC7
- // SetPedDecoration
- void _SET_PED_DECORATION(Ped ped, Hash collection, Hash overlay);
- Applies an Item from a PedDecorationCollection to a ped. These include tattoos and shirt decals.
- collection - PedDecorationCollection filename hash
- overlay - Item name hash
- Example:
- Entry inside "mpbeach_overlays.xml" -
- <Item>
- <uvPos x="0.500000" y="0.500000" />
- <scale x="0.600000" y="0.500000" />
- <rotation value="0.000000" />
- <nameHash>FM_Hair_Fuzz</nameHash>
- <txdHash>mp_hair_fuzz</txdHash>
- <txtHash>mp_hair_fuzz</txtHash>
- <zone>ZONE_HEAD</zone>
- <type>TYPE_TATTOO</type>
- <faction>FM</faction>
- <garment>All</garment>
- <gender>GENDER_DONTCARE</gender>
- <award />
- <awardLevel />
- </Item>
- Code:
- PED::_0x5F5D1665E352A839(PLAYER::PLAYER_PED_ID(), GAMEPLAY::GET_HASH_KEY("mpbeach_overlays"), GAMEPLAY::GET_HASH_KEY("fm_hair_fuzz"))
- PED::_SET_PED_FACE_FEATURE
- Hashes: 0x71A5C1DBA060049E
- void _SET_PED_FACE_FEATURE(Ped ped, int index, float scale)
- // 0x71A5C1DBA060049E
- Sets the various freemode face features, e.g. nose length, chin shape. Scale ranges from -1.0 to 1.0.
- Index can be 0 - 19
- Edit:---->Thanks to the first user.
- Enum Face_Feature
- Nose_Width
- Nose_Peak_Hight
- Nose_Peak_Lenght
- Nose_Bone_High
- Nose_Peak_Lowering
- Nose_Bone_Twist
- EyeBrown_High
- EyeBrown_Forward
- Cheeks_Bone_High
- Cheeks_Bone_Width
- Cheeks_Width
- Eyes_Openning
- Lips_Thickness
- Jaw_Bone_Width 'Bone size to sides
- Jaw_Bone_Back_Lenght 'Bone size to back
- Chimp_Bone_Lowering 'Go Down
- Chimp_Bone_Lenght 'Go forward
- Chimp_Bone_Width
- Chimp_Hole
- Neck_Thikness
- End Enum
- Example in VB.Net
- Public Shared Sub SET_PED_FACE_FEATURE(FreemodePed As Ped, Index As Face_Feature, Scale As Single)
- Native.Function.Call(Native.Hash._SET_PED_FACE_FEATURE, FreemodePed, Index, Scale)
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement