User contributions for TheNormalnij
Jump to navigation
Jump to search
6 December 2024
- 14:3214:32, 6 December 2024 diff hist +1,012 N OnPlayerChangesProtectedData Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22790|This event is triggered when a player tries to change protected element data. The server protects element data with using elementdata_whitelisted from '''mtaserver.conf''' and the '''clientChangesPolicy''' parameter in [setElementData.}} ==Parameters== *'''element''': The affected element. *'''key''': The name of the element data entry that has changed...."
- 14:3214:32, 6 December 2024 diff hist +89 Template:Player events No edit summary current
- 13:3613:36, 6 December 2024 diff hist +348 Server mtaserver.conf elementdata_whitelisted current
- 13:1213:12, 6 December 2024 diff hist +433 SetElementData clientChangesPolicy
15 October 2024
- 13:4213:42, 15 October 2024 diff hist +76 Template:Vehicle functions Add spawnVehicleFlyingComponent current
29 August 2024
- 10:5510:55, 29 August 2024 diff hist +339 EngineStreamingRequestModel References counter current
- 09:5909:59, 29 August 2024 diff hist +1,108 N EngineStreamingReleaseModel Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.1|22676|This function sends a unloading request to the game model streamer.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineStreamingReleaseModel( number modelID [, boolean removeRef = false ] ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to unload. ===Optional Arguments=== {{OptionalArg}} * '''removeRef''': decrease references counter. ===Returns=== Returns ''tr..." current
- 09:4809:48, 29 August 2024 diff hist −6 EngineStreamingRequestModel No edit summary
- 09:4709:47, 29 August 2024 diff hist +1,236 N EngineStreamingRequestModel Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.1|22676|This function sends a loading request to the game model streamer.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineStreamingRequestModel( number modelID [, boolean addRef = false, boolean isBlocking = false ] ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to get flags. ===Optional Arguments=== {{OptionalArg}} * '''addRef''': increase references counter to pr..."
- 09:1609:16, 29 August 2024 diff hist +611 N EngineStreamingGetModelLoadState Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.1|22676|This function returns load state of model.}} ==Syntax== <syntaxhighlight lang="lua"> string engineStreamingGetModelLoadState( number modelID ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to get flags. ===Returns=== Returns ''string'' with model load state. Possible load states: * unloaded - model is not loaded. * loaded - model is loaded. * requested - model is wa..." current
28 August 2024
- 11:2111:21, 28 August 2024 diff hist +172 Template:Engine functions Add model streaming functions current
- 11:0811:08, 28 August 2024 diff hist −1 CreateBuilding No edit summary
21 July 2024
- 20:3220:32, 21 July 2024 diff hist +108 EngineImageLinkTXD No edit summary current
- 20:3220:32, 21 July 2024 diff hist 0 EngineImageLinkDFF No edit summary current
- 20:3120:31, 21 July 2024 diff hist +2 m EngineImageLinkDFF No edit summary
- 20:3120:31, 21 July 2024 diff hist +106 EngineImageLinkDFF No edit summary
- 20:2720:27, 21 July 2024 diff hist +45 EngineImageLinkTXD →Example
- 20:2620:26, 21 July 2024 diff hist +45 EngineImageLinkDFF →Example
22 June 2024
- 14:1614:16, 22 June 2024 diff hist +505 N EngineSetPoolCapacity Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function changes the capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineSetPoolCapacity( string pool, number capacity ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool * '''capacity ''': New size ===Returns=== '''true''' if the pool capacity was changed and '''false''' if not. Throws an error if the pool is invalid. {{Engine_pools}} ==S..." current
- 14:1114:11, 22 June 2024 diff hist +404 N EngineGetPoolCapacity Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}" current
- 14:0814:08, 22 June 2024 diff hist +418 N EngineGetPoolUsedCapacity Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the used capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolUsedCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The used capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}" current
- 14:0814:08, 22 June 2024 diff hist +427 N EngineGetPoolDefaultCapacity Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the default capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolDefaultCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The default capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}" current
- 13:5913:59, 22 June 2024 diff hist +918 N Template:Engine pools Created page with "===Engine pools=== {|class="wikitable sortable" |- ! Name || Default size || Resizable || Description |- | building || 13000 || yes || Static world objects. Terrain, roads, buildings... |- | dummy|| 2500 || no || Dynamic world objects. Doors, fences, boxes |- | ped || 140 || no || Peds |- | object || 1200 || no || Scriptable objects |- | vehicle || 110 || no || Vehicles |- | col-model || 12000 || no || |- | task || 5000 || no || |- | event || 5000 || no || |- | task-allo..." current
17 June 2024
- 17:3117:31, 17 June 2024 diff hist −64 Changes in 1.6 Vladislav Nikolaevich and Uladzislau Nikalayevich and TheNormalnij is me
12 June 2024
- 21:1421:14, 12 June 2024 diff hist 0 Template:Building functions Fix mta version
9 June 2024
- 18:3118:31, 9 June 2024 diff hist −15 m CreateBuilding Fix position
8 June 2024
- 14:5114:51, 8 June 2024 diff hist +195 Template:Engine functions Pool functions added
25 May 2024
- 15:1115:11, 25 May 2024 diff hist −1 RestoreAllGameBuildings No edit summary
- 15:1015:10, 25 May 2024 diff hist 0 m RestoreAllGameBuildings No edit summary
- 15:1015:10, 25 May 2024 diff hist +411 N RestoreAllGameBuildings Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function cancels RemoveAllGameBuildings efffect}} {{Note|This function can destroy some scripted buildings if the building pool does not have enough free space for game buildings.}} ==Syntax== <syntaxhighlight lang="lua">nil restoreAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}"
- 15:0515:05, 25 May 2024 diff hist +94 RemoveAllGameBuildings Add note
- 15:0115:01, 25 May 2024 diff hist 0 m Template:Building functions Fix build number
- 14:5914:59, 25 May 2024 diff hist +299 N RemoveAllGameBuildings Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function is used to remove all world buildings and frees building pool.}} ==Syntax== <syntaxhighlight lang="lua">nil removeAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}"
17 May 2024
- 22:0222:02, 17 May 2024 diff hist −198 EngineRestoreObjectGroupPhysicalProperties There is no "property" argument
- 21:5421:54, 17 May 2024 diff hist −7 EngineSetObjectGroupPhysicalProperty Use engine functions
- 21:3821:38, 17 May 2024 diff hist +59 Template:Physical Properties Add turn_mass current
28 April 2024
- 20:0420:04, 28 April 2024 diff hist +84 Template:Building functions Add version info
- 20:0220:02, 28 April 2024 diff hist +47 Client Scripting Functions Add building functions
21 April 2024
- 16:5016:50, 21 April 2024 diff hist +30 N Building Redirected page to Element/Building current Tag: New redirect
- 16:4416:44, 21 April 2024 diff hist +373 N Element/Building Created page with "__NOTOC__ The building class represents static, 3-D models in the GTA world. Examples of buildings include building models, roads, and terrain. Buildings, unlike objects, can contain '''glass''' and '''shadows'''. The element type of this class is '''"building"'''. ==Related scripting functions== {{Building functions}} Category:Element Types en:Element/Building"
- 16:2616:26, 21 April 2024 diff hist +168 N Template:Building functions Created page with "<ul> <li>createBuilding</li> <li>removeAllGameBuildings</li> <li>restoreAllGameBuildings</li> </ul> <noinclude>Category:Functions templates</noinclude>"
- 16:2416:24, 21 April 2024 diff hist +1,636 CreateBuilding No edit summary
17 April 2024
- 19:4119:41, 17 April 2024 diff hist +1 m GetLowLODElement fix typo
18 January 2024
- 15:4515:45, 18 January 2024 diff hist +80 EngineImageLinkTXD No edit summary
10 November 2023
- 02:5302:53, 10 November 2023 diff hist +570 N EngineSetModelTXDID Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22190|This function changes the TXD ID of the given model ID.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineSetModelTXDID( int modelID, int txdID ) </syntaxhighlight> {{OOP||Engine.setModelTXDID}} ===Required Arguments=== *'''modelID:''' The ID of the model to update TXD ID. *'''txdID:''' The ID of target TXD. Use engineRequestTXD to get a new TXD ID. ===Returns=== Returns ''true'' if this fu..." current
- 02:4502:45, 10 November 2023 diff hist −53 EngineGetModelTXDID No edit summary current
6 September 2023
- 15:0015:00, 6 September 2023 diff hist +545 N EngineResetModelTXDID Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22190|This function restores the original TXD ID of the given model ID. Reverses the effect of EngineSetModelTXDID.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineResetModelTXDID( int modelID ) </syntaxhighlight> {{OOP||Engine.resetModelTXDID}} ===Required Arguments=== *'''modelID:''' The ID of the model to restore the model of ===Returns=== Returns ''true'' if this function succeeds, throw a..." current
3 September 2023
- 18:2618:26, 3 September 2023 diff hist +674 N EngineFreeTXD Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22190|This function is used to un-assign the specified TXD ID from the engineRequestTXD assignment.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineFreeTXD ( int txdID ) </syntaxhighlight> ===Required Arguments=== *'''txdID''': the TXD ID you want to have un-assigned. ===Returns=== Returns ''true'' if the TXD was successfully freed, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> -- T..."
- 18:2118:21, 3 September 2023 diff hist 0 m EngineRequestTXD fix new feature template
- 17:0417:04, 3 September 2023 diff hist +1,266 N EngineRequestTXD Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|22190|This function is used to register the next available TXD ID.}} ==Syntax== <syntaxhighlight lang="lua"> int engineRequestTXD ( string name ) </syntaxhighlight> ===Required Arguments=== *'''name''': TXD name string up to 24 characters. ===Returns=== {{New feature/item|3.0160|1.6.0|22190| Returns an ''integer'' of the TXD ID that was available to be assigned to game models, ''false'' if no free TXD ID avai..."