User contributions for Mohab
Jump to navigation
Jump to search
26 July 2025
- 08:0908:09, 26 July 2025 diff hist +38 SetAccountSerial No edit summary current
- 08:0208:02, 26 July 2025 diff hist +4 SetAccountSerial No edit summary
- 08:0208:02, 26 July 2025 diff hist −36 SetAccountSerial No edit summary
- 08:0008:00, 26 July 2025 diff hist +2,576 N 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:..."
25 July 2025
- 18:0118:01, 25 July 2025 diff hist +29 ResetVehicleModelAudioSettings No edit summary current
- 18:0118:01, 25 July 2025 diff hist +29 SetVehicleModelAudioSetting No edit summary current
- 18:0018:00, 25 July 2025 diff hist +29 GetVehicleModelAudioSettings No edit summary current
- 18:0018:00, 25 July 2025 diff hist +29 SetVehicleAudioSetting No edit summary current
- 18:0018:00, 25 July 2025 diff hist −2 GetVehicleAudioSettings No edit summary current
- 17:5817:58, 25 July 2025 diff hist −2 ResetVehicleAudioSettings No edit summary current
- 17:5117:51, 25 July 2025 diff hist +1,580 N 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:4717:47, 25 July 2025 diff hist +3,056 N 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:3417:34, 25 July 2025 diff hist −4,291 GetVehicleModelAudioSettings Simplify examples
- 17:3117:31, 25 July 2025 diff hist +2,760 N 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:3017:30, 25 July 2025 diff hist −204 SetVehicleModelAudioSetting No edit summary
- 17:2817:28, 25 July 2025 diff hist −712 SetVehicleModelAudioSetting No edit summary
- 17:0317:03, 25 July 2025 diff hist +1,358 N 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..."
- 17:0117:01, 25 July 2025 diff hist −19 GetVehicleModelAudioSettings No edit summary
- 17:0117:01, 25 July 2025 diff hist −19 SetVehicleModelAudioSetting No edit summary
- 16:5616:56, 25 July 2025 diff hist +6,216 N 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:5216:52, 25 July 2025 diff hist +40 SetVehicleModelAudioSetting No edit summary
- 16:3816:38, 25 July 2025 diff hist +5,577 N 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..."
15 July 2025
- 12:1312:13, 15 July 2025 diff hist +1,251 OnClientBrowserResourceBlocked No edit summary current
- 10:3310:33, 15 July 2025 diff hist +2 GetCameraMatrix No edit summary current
- 10:3210:32, 15 July 2025 diff hist −2 GetCameraMatrix No edit summary
- 10:3210:32, 15 July 2025 diff hist +100 GetCameraMatrix No edit summary
10 July 2025
- 09:2509:25, 10 July 2025 diff hist +613 GetMarkerTargetArrowProperties No edit summary current
- 09:0909:09, 10 July 2025 diff hist −17 DgsMenuAddSeparator No edit summary current
- 08:5308:53, 10 July 2025 diff hist +1,255 N 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..." current
- 08:3208:32, 10 July 2025 diff hist +231 DgsMenuAddSeparator No edit summary
- 08:3208:32, 10 July 2025 diff hist +18 N File:DGS Text Seperator.png No edit summary current
- 08:2808:28, 10 July 2025 diff hist +6,359 N 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:5307:53, 10 July 2025 diff hist +86 N File:Dgs seperator.png No edit summary current
- 06:4306:43, 10 July 2025 diff hist +5,085 N 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:1806:18, 10 July 2025 diff hist +4,335 N 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..." current
- 06:0606:06, 10 July 2025 diff hist +1,405 N 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 '..." current
- 05:5905:59, 10 July 2025 diff hist +1,762 N 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..." current
- 04:5204:52, 10 July 2025 diff hist −28 DgsMenuGetItemText No edit summary current
- 04:5104:51, 10 July 2025 diff hist −34 DgsMenuGetItemCommand No edit summary current
- 04:5104:51, 10 July 2025 diff hist −28 DgsMenuSetItemCommand No edit summary current
- 04:5104:51, 10 July 2025 diff hist −28 DgsMenuGetItemCommand No edit summary
- 04:5104:51, 10 July 2025 diff hist −28 DgsMenuSetItemText No edit summary current
- 04:5004:50, 10 July 2025 diff hist −28 DgsMenuHide No edit summary current
- 04:5004:50, 10 July 2025 diff hist −28 DgsMenuAddItem No edit summary current
- 04:4904:49, 10 July 2025 diff hist +1,339 N 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:4704:47, 10 July 2025 diff hist −42 DgsMenuSetItemText No edit summary
- 04:4704:47, 10 July 2025 diff hist +2,023 N 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:4404:44, 10 July 2025 diff hist +2,041 N 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:4004:40, 10 July 2025 diff hist +2,233 N 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:3204:32, 10 July 2025 diff hist +2,862 N 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..."