Skip to content

Commit

Permalink
feat: clearing ped props before setting new ones (#169)
Browse files Browse the repository at this point in the history
feat: clearing ped props before setting new ones
  • Loading branch information
isereb authored Oct 7, 2024
1 parent cff385f commit 38bb760
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/client/ped/clone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ export function useClonedPed() {

native.setHeadBlendEyeColor(ped, appearance.eyes);

// Clearing all props
native.clearAllPedProps(ped, 0);

// Default Clothes for Even Customization
for (let component of clothing) {
if (component.isProp) {
Expand Down

0 comments on commit 38bb760

Please sign in to comment.