[Alpha] Clothing Shops v0.2 (Last update: 05/26)

woah… nice script, well coment and details. Great job

1 Like

As you feel, it’s up to you, it will give the same result

Having no luck… Could you maybe explain better what you mean?

I might say change in my sql file, if it doesn’t work today , remove the contrainst

Again having 0 luck.

PRIMARY KEY (identifier),
CONSTRAINT fk_user_clothes FOREIGN KEY(identifier) REFERENCES users(identifier) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

What part of this do i remove?

1 Like

Help how? I mean i can’t code but if i can help i will.

Start with looking at my issue :wink:

Works perfectly good for me.

I think you sould had a clothing_shop:SpawnPlayer_server when a player leave the shop (with E or by foot), so they get what they realy selected and not what the look at.

For the “reset”, you sould add in your menu, before the forearch à button who trigger function like ClearPedProp(GetPlayerPed(-1),0) or SetPedComponentVariation(GetPlayerPed(-1), 1, 0, 0) etc

2 Likes

Okay im at a loss, Ive tried numerous things but not understanding what needs to be dont here to fix the issue.

https://gyazo.com/a39d2dd986dc668751045c8688a5145f

On my side got this, if someone know how to fix :confused:

try to change CHARSET=utf8 by CHARSET=utf8mb4

CONSTRAINT fk_user_clothes FOREIGN KEY(identifier) REFERENCES users(identifier) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;


try to add face details with this sourcecode…

Thank you, will try this

@Reevax

Okay so far it is amazing!

Could you please implement a function that if the player is new the menu auto pops up? But then can only be re-opened at shops?

1 Like

If you didn’t see it yet, I added a new SQL file

Love the idea, I will definitely work on it

Hi your script and really top by cons I can not change the changin gender is normal.

Did you get an error ? (F8 or server)
Edit: I just tried on my server, works well :confused:

no error on F8 and server

Does it work when you change your face, etc… ?

Yes everything works apart from gender change