User contributions for TheNormalnij

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

6 December 2024

15 October 2024

29 August 2024

  • 10:5510:55, 29 August 2024 diff hist +339 EngineStreamingRequestModelReferences counter current
  • 09:5909:59, 29 August 2024 diff hist +1,108 N EngineStreamingReleaseModelCreated 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 EngineStreamingRequestModelNo edit summary
  • 09:4709:47, 29 August 2024 diff hist +1,236 N EngineStreamingRequestModelCreated 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 EngineStreamingGetModelLoadStateCreated 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

21 July 2024

22 June 2024

  • 14:1614:16, 22 June 2024 diff hist +505 N EngineSetPoolCapacityCreated 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 EngineGetPoolCapacityCreated 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 EngineGetPoolUsedCapacityCreated 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 EngineGetPoolDefaultCapacityCreated 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 poolsCreated 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

12 June 2024

9 June 2024

8 June 2024

25 May 2024

17 May 2024

28 April 2024

21 April 2024

17 April 2024

18 January 2024

10 November 2023

  • 02:5302:53, 10 November 2023 diff hist +570 N EngineSetModelTXDIDCreated 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 EngineGetModelTXDIDNo edit summary current

6 September 2023

  • 15:0015:00, 6 September 2023 diff hist +545 N EngineResetModelTXDIDCreated 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 EngineFreeTXDCreated 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 EngineRequestTXDfix new feature template
  • 17:0417:04, 3 September 2023 diff hist +1,266 N EngineRequestTXDCreated 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..."
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)