diff --git a/ReallifeGamemode.Client/CharCreator/main.ts b/ReallifeGamemode.Client/CharCreator/main.ts index 042cd33f..2735aa43 100644 --- a/ReallifeGamemode.Client/CharCreator/main.ts +++ b/ReallifeGamemode.Client/CharCreator/main.ts @@ -546,7 +546,7 @@ export default function charCreator() { // CREATOR HAIR & COLORS END // EVENTS - mp.events.add("toggleCreator", (active, charData) => { + mp.events.add("toggleCreator", () => { if (creatorCamera === undefined) { creatorCamera = mp.cameras.new("creatorCamera", creatorCoords.camera, new mp.Vector3(0, 0, 0), 45); creatorCamera.pointAtCoord(creatorCoords.cameraLookAt); diff --git a/ReallifeGamemode.Client/index.ts b/ReallifeGamemode.Client/index.ts index 3b68b547..e8e40add 100644 --- a/ReallifeGamemode.Client/index.ts +++ b/ReallifeGamemode.Client/index.ts @@ -24,8 +24,8 @@ business(); import cardealer from './Business/cardealer'; cardealer(); -//import charCreator from './CharCreator/main'; -//charCreator(); +import charCreator from './CharCreator/main'; +charCreator(); import coloredHeadLights from './coloredhlights/index'; coloredHeadLights(); diff --git a/ReallifeGamemode.Server/Events/Register.cs b/ReallifeGamemode.Server/Events/Register.cs index cf9f75a2..35f271a0 100644 --- a/ReallifeGamemode.Server/Events/Register.cs +++ b/ReallifeGamemode.Server/Events/Register.cs @@ -50,8 +50,8 @@ namespace ReallifeGamemode.Server.Events NAPI.Data.SetWorldData("playerCreatorDimension", currentPlayerCreatorDimension); player.Dimension = NAPI.Data.GetWorldData("playerCreatorDimension"); player.TriggerEvent("toggleCreator"); - - player.Position = new Vector3(user.PositionX, user.PositionY, user.PositionZ); + player.Position = new Vector3(402.8664, -996.4108, -99.00027); + //player.Position = new Vector3(user.PositionX, user.PositionY, user.PositionZ); } else if (dbContext.Users.Where(u => u.SocialClubName == player.SocialClubName).Count() >= 3)