Fix CharCreator
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user