├── .gitattributes
├── README.md
├── client.lua
├── config.lua
└── fxmanifest.lua
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Pause Menu Logo
2 |
3 | Interested in other scripts? Check out [Not a Tebex Shop](https://not-a-script.tebex.io/).
4 |
5 | Join our Discord community [here](https://discord.gg/kKUYHevrBY).
6 |
7 | # Installing Custom Logo
8 |
9 | ## Prerequisites
10 | - OpenIV installed
11 | - Your logo image file ready
12 |
13 | ## Step-by-Step Instructions
14 |
15 | ### 1. Open OpenIV and Enable Edit Mode
16 | - Launch OpenIV
17 | - Click on the "Edit Mode" button to enable editing capabilities
18 |
19 | ### 2. Create YTD File
20 | 1. Create a new `.ytd` file in OpenIV
21 | 2. The name you choose for this file will be used in `Config.TEXTURE_FILE`
22 | 3. Remember this filename for configuration later
23 |
24 | ### 3. Import Your Logo
25 | 1. Right-click on the newly created `.ytd` file
26 | 2. Select "Edit" from the context menu
27 | 3. In the top-left corner of the window, locate and click the "Import" button
28 | 4. Select your logo image file to import it
29 | 5. Rename the imported texture - this name will be used in `Config.TEXTURE_DICT`
30 |
31 | ### 4. File Placement
32 | 1. Locate your generated `.ytd` file
33 | 2. Create a `stream` folder in your resource if it doesn't exist
34 | 3. Place the `.ytd` file inside the `stream` folder
35 |
36 | ### Configuration
37 | In your script's config file, update the following values:
38 | ```lua
39 | Config.TEXTURE_FILE = "your_ytd_filename" -- The .ytd file name you created
40 | Config.TEXTURE_DICT = "your_texture_name" -- The name you gave to your imported texture
41 | ```
--------------------------------------------------------------------------------
/client.lua:
--------------------------------------------------------------------------------
1 | --[[
2 | Copyright (C) 2025 Space V
3 |
4 | This program is free software: you can redistribute it and/or modify
5 | it under the terms of the GNU Affero General Public License as
6 | published by the Free Software Foundation, either version 3 of the
7 | License, or (at your option) any later version.
8 |
9 | This program is distributed in the hope that it will be useful,
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | GNU Affero General Public License for more details.
13 |
14 | You should have received a copy of the GNU Affero General Public License
15 | along with this program. If not, see .
16 | ]]
17 |
18 |
19 | local function shiftCoronaDesc()
20 | BeginScaleformMovieMethodOnFrontendHeader("SHIFT_CORONA_DESC");
21 | ScaleformMovieMethodAddParamBool(true);
22 | ScaleformMovieMethodAddParamBool(true);
23 | EndScaleformMovieMethod();
24 |
25 | BeginScaleformMovieMethodOnFrontendHeader("SET_HEADER_TITLE");
26 | ScaleformMovieMethodAddParamTextureNameString("");
27 | ScaleformMovieMethodAddParamBool(true);
28 | EndScaleformMovieMethod();
29 |
30 | PushScaleformMovieFunctionParameterString("");
31 | ScaleformMovieMethodAddParamBool(true);
32 | EndScaleformMovieMethod();
33 |
34 | BeginScaleformMovieMethodOnFrontend("SET_HEADING_DETAILS");
35 | ScaleformMovieMethodAddParamTextureNameString("");
36 | ScaleformMovieMethodAddParamTextureNameString("");
37 | ScaleformMovieMethodAddParamTextureNameString("");
38 | ScaleformMovieMethodAddParamBool(false);
39 | EndScaleformMovieMethod();
40 | end
41 |
42 | local function setLogoMap()
43 | RequestStreamedTextureDict(Config.TEXTURE_FILE, true);
44 | while (not HasStreamedTextureDictLoaded(Config.TEXTURE_FILE)) do
45 | Wait(0);
46 | end
47 |
48 | BeginScaleformMovieMethodOnFrontendHeader("SET_HEADER_TITLE");
49 | AddTextEntry("FE_THDR_GTAO","
");
50 | ScaleformMovieMethodAddParamTextureNameString("FE_THDR_GTAO");
51 | ScaleformMovieMethodAddParamBool(false);
52 | ScaleformMovieMethodAddParamTextureNameString("");
53 | ScaleformMovieMethodAddParamBool(false);
54 | ScaleformMovieMethodAddParamBool(true);
55 | EndScaleformMovieMethod();
56 |
57 | shiftCoronaDesc();
58 | end
--------------------------------------------------------------------------------
/config.lua:
--------------------------------------------------------------------------------
1 | Config = {}
2 |
3 | Config.TEXTURE_DICT = "name_of_the_texture_inside_the_ytd";
4 | Config.TEXTURE_FILE = "name_of_the_ytd";
5 | Config.Width = '150';
6 | Config.Height = '50';
--------------------------------------------------------------------------------
/fxmanifest.lua:
--------------------------------------------------------------------------------
1 | fx_version 'cerulean'
2 | game 'gta5'
3 | lua54 'yes'
4 |
5 | name 'Pause Menu Logo'
6 | version '1.0.0'
7 | author 'Space V'
8 | organization 'Not a Script'
9 | description 'A simple script to add a custom logo to your pause menu'
10 |
11 | shared_scripts {
12 | 'config.lua'
13 | }
14 |
15 | client_scripts {
16 | 'client/*.lua'
17 | }
--------------------------------------------------------------------------------