public void SetCharacterIntoCreatorEvent(Client player) { // Change player's skin NAPI.Player.SetPlayerSkin(player, PedHash.FreemodeMale01); // Remove clothes player.SetClothes(11, 15, 0); player.SetClothes(3, 15, 0); player.SetClothes(8, 15, 0); // Remove all the tattoos Customization.RemovePlayerTattoos(player); // Set player's position player.Transparency = 255; player.Rotation = new Vector3(0.0f, 0.0f, 180.0f); player.Position = new Vector3(152.3787f, -1000.644f, -99f); }
public void SetCharacterIntoCreatorEvent(Client player) { // Change player's skin NAPI.Player.SetPlayerSkin(player, PedHash.FreemodeMale01); // Remove clothes player.SetClothes(11, 15, 0); player.SetClothes(3, 15, 0); player.SetClothes(8, 15, 0); // Remove all the tattoos Customization.RemovePlayerTattoos(player); // Set player's position player.Transparency = 255; player.Rotation = new Vector3(0.0f, 0.0f, 180.0f); player.Position = new Vector3(402.9364f, -996.7154f, -99.00024f); // Force the player's animation player.PlayAnimation("amb@world_human_hang_out_street@female_arms_crossed@base", "base", (int)Constants.AnimationFlags.Loop); }