try fix friseur

This commit is contained in:
michael.reiswich
2021-01-27 22:24:41 +01:00
parent f693f3ac66
commit 4ef28ae9b2
2 changed files with 39 additions and 1 deletions

View File

@@ -279,7 +279,7 @@ export default function friseurShopList(globalData: IGlobalData) {
if (lastClothing.drawable == currentItem.ClotheId && lastClothing.texture == currentTexture) {
mp.game.audio.playSoundFrontend(1, "Hack_Failed", "DLC_HEIST_BIOLAB_PREP_HACKING_SOUNDS", true);
} else {
mp.events.callRemote("SERVER:BuyCharacterClothes", "clothe", JSON.stringify(serverData), currentItem.CloteID);
mp.events.callRemote("SERVER:BuyHair", "clothe", JSON.stringify(serverData), currentItem.CloteID);
mp.events.call("friseurMenu:close");
}