Register Fix?
This commit is contained in:
@@ -316,10 +316,14 @@ export default function charCreator(globalData: IGlobalData) {
|
||||
localPlayer.setComponentVariation(2, Data.hairList[currentGender][hairItem.Index].ID, 0, 2);
|
||||
mp.game.cam.renderScriptCams(false, false, 0, true, false);
|
||||
mp.events.callRemote("creatorSave", currentGender, JSON.stringify(parentData), JSON.stringify(featureData), JSON.stringify(appearanceData), JSON.stringify(hairAndColors));
|
||||
globalData.InMenu = false;
|
||||
globalData.InInput = false;
|
||||
break;
|
||||
|
||||
case 7:
|
||||
mp.events.callRemote("creator_Leave");
|
||||
globalData.InMenu = false;
|
||||
globalData.InInput = false;
|
||||
break;
|
||||
}
|
||||
});
|
||||
@@ -327,6 +331,7 @@ export default function charCreator(globalData: IGlobalData) {
|
||||
creatorMainMenu.MenuClose.on(() => {
|
||||
mp.events.callRemote("creator_Leave");
|
||||
globalData.InMenu = false;
|
||||
globalData.InInput = false;
|
||||
});
|
||||
|
||||
creatorMainMenu.Visible = false;
|
||||
@@ -555,6 +560,7 @@ export default function charCreator(globalData: IGlobalData) {
|
||||
creatorCamera.setActive(true);
|
||||
|
||||
globalData.InMenu = true;
|
||||
globalData.InInput = true;
|
||||
|
||||
creatorMainMenu.Visible = true;
|
||||
mp.gui.chat.show(false);
|
||||
|
||||
Reference in New Issue
Block a user