🎶Create, Settings Studio

In this document you will learn how to create a studio and the values it can take


Change Studio Job

To do this, you need to change the table name, which is the main header of your studio table. Like the following example

  • your_new_job_name: Here you should write the name of your new profession or the profession you want to change.

["green_studio"] = {
    -- THIS PLACE IS NORMALLY CLOSED WITH CODES. DO NOT COPY OR MODIFY THIS PLACE
    -- THIS PLACE IS NORMALLY CLOSED WITH CODES. DO NOT COPY OR MODIFY THIS PLACE
    -- THIS PLACE IS NORMALLY CLOSED WITH CODES. DO NOT COPY OR MODIFY THIS PLACE
}

-- 

["your_new_job_name"] = {
    -- THIS PLACE IS NORMALLY CLOSED WITH CODES. DO NOT COPY OR MODIFY THIS PLACE
    -- THIS PLACE IS NORMALLY CLOSED WITH CODES. DO NOT COPY OR MODIFY THIS PLACE
    -- THIS PLACE IS NORMALLY CLOSED WITH CODES. DO NOT COPY OR MODIFY THIS PLACE
}

What is Debug?

[‘debug’] = @boolean, It is the printing of data, transactions to F8 or Server console from the time the script starts running until the end of any operation.


What is Blips / What it does

The Blips table is the table that contains the icon and other variables that will appear on the Map by everyone in the game.

  • ["coords"]: @veector3 You must enter coordinates here to determine where the blip will appear on the map.

  • ["sprite"]: @int It is the icon type that will appear on the map. Fivem Blips.

  • ["color"]: @int The colour of the icon that will appear on the map. Fivem Blip Colours

  • ["scale"]: @float The size of the icon that will appear on the map.

  • ["label"]: @string The name of the icon that will appear on the map

  • ["show"]: @boolean If you want the blips to appear on the map, you should make true if you don't want false


Studio placae / PolyZones

It is important to arrange the studio space. In order to access the computer, to hear the sounds in the studio, the correct complete cordkinat must be taken from the sides of the studio.

  • After copying the correct vector from each edge of the studio, paste it into the ‘polyzones’ table with a comma at the end. Fix the Z position to a fixed float.

  • Example for polyzones:

    ["polyzones"] = {
        vec(0.0, 0.0, 0.0),
        vec(0.0, 0.0, 0.0),
        vec(0.0, 0.0, 0.0),
        vec(0.0, 0.0, 0.0),
    }

["height"]: @float It is the height of the polyzone you entered. Default height is 10.0. If the polyzone is too high or too low, you can adjust this variable by increasing or decreasing it.


Computer / Microphone Coords

In the Microphone and Computer Access section, you should use this section to set the coordinates and the size of the target at these coordinates.

  • ["radius"]: @float Target is the size of the area.

  • ["coords"]: @vector3 The location of the target where the computer or microphone will be accessed.

Only one person can access the microphone at a time and their voice can be recorded.


Add Television / Setup Television

If there is a screen in the studio, enter the coordinates and prop information of this screen. But if you don't have a screen and want to create it, you should set the model, coords, rotation and create options. You can find out what these are below.

  • ["model"]: @string You can find the models on PlebMaster or if you have a TV in your MLO/YMAP, you must enter the model here.

  • ["create"]: @boolean If you have a television in MLO/YMAP, this value must be false. If you want a TV to be created automatically by the studio script, you should set this value to true.

  • ["coords"]: @vector4 This is the coordinate where the television will be located. Vector4 so that the Heading of the TV screen will be known.

  • ["rotation"]: @vector3 The value of the X, Y, Z rotations at the position of the television.

  • ["distance"]: @float It is the distance measurement between the television coordinate you enter and the detected television. If you have a TV ready in MLO/YMAP and you do not think you have entered the coordinate correctly, try to enter this control distance as a slightly higher value so that the TV can be detected.

["television"] = {
    ["model"] = "prop_tv_flat_michael",
    ["create"] = true,
    ["coords"] = vector4(0.0, 0.0, 0.0, 0.0),
    ["rotation"] = vector3(0.0, 0.0, 0.0),
    ["distance"] = 1.0
}

Last updated