All public logs
Jump to navigation
Jump to search
Combined display of all available logs of Multi Theft Auto: Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 08:00, 26 July 2025 Mohab talk contribs created page SetAccountSerial (Created page with "{{server function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|23232|This function sets the serial number for a specified player account. It allows administrators to update or assign a new 32-character hexadecimal serial identifier to registered accounts.}} ==Syntax== <syntaxhighlight lang="lua"> bool setAccountSerial ( account theAccount, string serial ) </syntaxhighlight> ===Required Arguments=== *'''theAccount:''' The account element to set the serial for *'''serial:...")
- 17:51, 25 July 2025 Mohab talk contribs created page ResetVehicleAudioSettings (Created page with "{{client function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|23140|This function resets the audio properties of a specific vehicle instance back to its model's default settings. Any custom audio settings that were applied to the vehicle using setVehicleAudioSetting will be removed, restoring the original sound characteristics.}} ==Syntax== <syntaxhighlight lang="lua"> bool resetVehicleAudioSettings ( vehicle theVehicle ) </syntaxhighlight> ===Required Arguments===...")
- 17:47, 25 July 2025 Mohab talk contribs created page GetVehicleAudioSettings (Created page with "{{client function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|23140|This function retrieves the current audio properties for a specific vehicle instance. It allows inspection of various vehicle sound settings such as engine sounds, horn characteristics, door sounds, and radio settings that may have been customized for this particular vehicle.}} ==Syntax== <syntaxhighlight lang="lua"> table getVehicleAudioSettings ( vehicle theVehicle ) </syntaxhighlight> ===Required Ar...")
- 17:31, 25 July 2025 Mohab talk contribs created page SetVehicleAudioSetting (Created page with "{{client function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|23140|This function sets audio properties for a '''specific vehicle instance'''. It allows customization of various vehicle sound settings such as engine sounds, horn characteristics, door sounds, and radio settings.}} ==Syntax== <syntaxhighlight lang="lua"> bool setVehicleAudioSetting ( element vehicle, string property, float value ) </syntaxhighlight> ===Required Arguments=== *'''vehicle:''' The vehicle el...")
- 17:03, 25 July 2025 Mohab talk contribs created page ResetVehicleModelAudioSettings (Created page with "{{client function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|23140|This function resets all audio settings for a specific vehicle model back to their original GTA San Andreas values. This will undo any modifications made with setVehicleModelAudioSetting.}} ==Syntax== <syntaxhighlight lang="lua"> bool resetVehicleModelAudioSettings ( int modelID ) </syntaxhighlight> ===Required Arguments=== *'''modelID:''' The vehicle model ID to reset audio settings for ===Return...")
- 16:56, 25 July 2025 Mohab talk contribs created page GetVehicleModelAudioSettings (Created page with "{{client function}} __NOTOC__ {{New feature/item|3.0161|1.6.0|23140|This function retrieves audio properties for a specific vehicle model. It allows inspection of various vehicle sound settings such as engine sounds, horn characteristics, door sounds, and radio settings.}} ==Syntax== <syntaxhighlight lang="lua"> table getVehicleModelAudioSettings ( int modelID ) </syntaxhighlight> ===Required Arguments=== *'''modelID:''' The vehicle model ID to retrieve audio settings...")
- 16:38, 25 July 2025 Mohab talk contribs created page SetVehicleModelAudioSetting (Created page with "{{client function}} __NOTOC__ This function sets audio properties for a specific vehicle model. It allows customization of various vehicle sound settings such as engine sounds, horn characteristics, door sounds, and radio settings. ==Syntax== <syntaxhighlight lang="lua"> bool setVehicleModelAudioSetting ( int modelID, string property, float value ) </syntaxhighlight> ===Required Arguments=== *'''modelID:''' The vehicle model ID to modify audio settings for *'''property...")
- 08:53, 10 July 2025 Mohab talk contribs created page DgsMenuRemoveItem (Created page with "{{Client function}} __NOTOC__ This function removes an item from a DGS menu element. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuRemoveItem ( element menu, int uniqueID ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element from which to remove the item *'''uniqueID:''' The unique ID of the menu item to remove (returned by dgsMenuAddItem) ===Returns=== Returns ''true'' if the item was successfully removed, ''false'' if the item wit...")
- 08:32, 10 July 2025 Mohab talk contribs uploaded File:DGS Text Seperator.png
- 08:32, 10 July 2025 Mohab talk contribs created page File:DGS Text Seperator.png
- 08:28, 10 July 2025 Mohab talk contribs created page DgsMenuAddSeparator (Created page with "{{Client function}} __NOTOC__ This function adds a separator to a DGS menu. A separator is a visual divider that can be used to organize menu items into logical groups. It can be displayed as a horizontal line or as text. ==Syntax== <syntaxhighlight lang="lua"> int uniqueID, int position dgsMenuAddSeparator ( element menu [, string text, int parentItemID, int position ] ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element to add the separator...")
- 07:53, 10 July 2025 Mohab talk contribs uploaded File:Dgs seperator.png
- 07:53, 10 July 2025 Mohab talk contribs created page File:Dgs seperator.png
- 06:43, 10 July 2025 Mohab talk contribs created page DgsMenuGetItemColor (Created page with "{{Client function}} __NOTOC__ This function gets the color of a specific menu item. You can retrieve the colors either as separate RGBA components or as color values. ==Syntax== <syntaxhighlight lang="lua"> int r, int g, int b, int a, int hr, int hg, int hb, int ha dgsMenuGetItemColor ( element menu, int uniqueID ) int normalColor, int hoverColor dgsMenuGetItemColor ( element menu, int uniqueID, bool notSplitColor ) </syntaxhighlight> ===Required Arguments=== *'''menu:...")
- 06:18, 10 July 2025 Mohab talk contribs created page DgsMenuSetItemColor (Created page with "{{Client function}} __NOTOC__ This function sets the color of a specific menu item. You can set both the normal and hover colors for the item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuSetItemColor ( element menu, int uniqueID, int r, int g, int b [, int a ] ) bool dgsMenuSetItemColor ( element menu, int uniqueID, int color ) bool dgsMenuSetItemColor ( element menu, int uniqueID, table colors ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS...")
- 06:06, 10 July 2025 Mohab talk contribs created page DgsMenuGetItemTextSize (Created page with "{{Client function}} __NOTOC__ This function gets the text size of a specific menu item. ==Syntax== <syntaxhighlight lang="lua"> float, float dgsMenuGetItemTextSize ( element menu, int uniqueID ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) ===Returns=== Returns two floats representing the horizontal and vertical text scale factors, or '...")
- 05:59, 10 July 2025 Mohab talk contribs created page DgsMenuSetItemTextSize (Created page with "{{Client function}} __NOTOC__ This function sets the text size of a specific menu item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuSetItemTextSize ( element menu, int uniqueID, float textSizeX [, float textSizeY ] ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) *'''textSizeX:''' The horizontal scale of the text ===Optional Argum...")
- 04:49, 10 July 2025 Mohab talk contribs created page DgsMenuGetItemText (Created page with "{{Client function}} __NOTOC__ This function retrieves the displayed text of a menu item. ==Syntax== <syntaxhighlight lang="lua"> string dgsMenuGetItemText ( element menu, int uniqueID ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) ===Returns=== Returns the text string if successful, ''false'' if the item doesn't exist. ==Examples== <sy...")
- 04:47, 10 July 2025 Mohab talk contribs created page DgsMenuSetItemText (Created page with "{{Client function}} __NOTOC__ This function changes the displayed text of an existing menu item. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuSetItemText ( element menu, int uniqueID, string text ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) *'''text:''' The new text to display for this menu item ===Returns=== Returns ''true'' i...")
- 04:44, 10 July 2025 Mohab talk contribs created page DgsMenuGetItemCommand (Created page with "{{Client function}} __NOTOC__ This function retrieves the command identifier of a menu item. The command is used to identify which action should be performed when the item is selected. ==Syntax== <syntaxhighlight lang="lua"> string dgsMenuGetItemCommand ( element menu, int uniqueID ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) ===Retur...")
- 04:40, 10 July 2025 Mohab talk contribs created page DgsMenuSetItemCommand (Created page with "{{client function}} __NOTOC__ This function changes the command identifier of an existing menu item. The command is used to identify the item when it's selected. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuSetItemCommand ( element menu, int uniqueID, string command ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element containing the item *'''uniqueID:''' The unique ID of the menu item (returned by dgsMenuAddItem) *'''command:''' Th...")
- 04:32, 10 July 2025 Mohab talk contribs created page DgsMenuAddItem (Created page with "{{client function}} __NOTOC__ This function adds a new item to a DGS menu. Each item can have text, a command identifier, and can optionally be a child of another item to create submenus. ==Syntax== <syntaxhighlight lang="lua"> int, int dgsMenuAddItem ( element menu, string text, string command [, int parentItemID, int position ] ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element to add the item to *'''text:''' The text that will be display...")
- 04:28, 10 July 2025 Mohab talk contribs created page DgsMenuHide (Created page with "{{client function}} __NOTOC__ This function hides a DGS menu and cleans up any associated submenus. ==Syntax== <syntaxhighlight lang="lua"> bool dgsMenuHide ( element menu ) </syntaxhighlight> ===Required Arguments=== *'''menu:''' The DGS menu element to hide ===Returns=== Returns ''true'' if the menu was hidden successfully, ''false'' otherwise. ==Examples== <syntaxhighlight lang="lua"> loadstring(exports.dgs:dgsImportFunction())()-- load functions -- Create a menu...")
- 04:14, 10 July 2025 Mohab talk contribs created page DgsAddPropertyListener (Created page with "{{client function}} __NOTOC__ This function enables monitoring of property changes on DGS elements. When a property that has been added to the listener list changes via dgsSetProperty, it triggers the onDgsPropertyChange event. {{Note|Property listeners only trigger when using dgsSetProperty, not when using specific setter functions}} {{Note|The '''onDgsPropertyChange''' event is only triggered for properties that have been explicitly added to th...")
- 02:55, 10 July 2025 Mohab talk contribs created page User:Mohab (Created page with "__NOTOC__ I'm '''Mohab''' (also known as '''MohabCodeX'''), a Software Engineer & Content Creator ==Profile== *'''Username:''' Mohab *'''Also known as:''' MohabCodeX *'''Focus:''' MTA:SA Lua Scripting & Education ==Latest Contributions== ===Scripts & Resources=== *[https://community.multitheftauto.com/index.php?p=resources&s=details&id=18990 Debug GUI] - debugging tool with graphical interface *[https://community.multitheftauto.com/index.php?p=resources&s=details&id=1...")
- 02:44, 10 July 2025 Mohab talk contribs created page OnDgsPropertyChange (Created page with "__NOTOC__ {{Client event}} This event is triggered when a monitored property of a dgs element changes via dgsSetProperty. The property must be added to the listener using dgsAddPropertyListener for this event to fire. {{Note|This event only fires for properties that have been explicitly added as listeners using dgsAddPropertyListener}} {{Note|The event only triggers when using dgsSetProperty, not element-specific functions like dgsSetText}} {{Tip|Thi...")
- 02:29, 9 April 2025 Mohab talk contribs created page AR/createDirectory (Arabic Translation for createDirectory Page)
- 01:49, 9 April 2025 Mohab talk contribs created page CreateDirectory (This function creates a directory in the resource's file system)
- 01:44, 9 April 2025 Mohab talk contribs moved page Template:CreateDirectory to Multi Theft Auto: Wiki:CreateDirectory (removing ("Template:") word from the page name)
- 01:24, 9 April 2025 Mohab talk contribs created page Template:CreateDirectory (Creates a directory in the resource's file system)
- 00:45, 13 November 2021 User account Mohab talk contribs was created