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).
- 09:59, 29 August 2024 TheNormalnij talk contribs created page 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...")
- 09:47, 29 August 2024 TheNormalnij talk contribs created page 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:16, 29 August 2024 TheNormalnij talk contribs created page 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...")
- 14:16, 22 June 2024 TheNormalnij talk contribs created page 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...")
- 14:11, 22 June 2024 TheNormalnij talk contribs created page 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}}")
- 14:08, 22 June 2024 TheNormalnij talk contribs created page 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}}")
- 14:08, 22 June 2024 TheNormalnij talk contribs created page 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}}")
- 13:59, 22 June 2024 TheNormalnij talk contribs created page 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...")
- 15:10, 25 May 2024 TheNormalnij talk contribs created page 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}}")
- 14:59, 25 May 2024 TheNormalnij talk contribs created page 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}}")
- 16:50, 21 April 2024 TheNormalnij talk contribs created page Building (Redirected page to Element/Building) Tag: New redirect
- 16:44, 21 April 2024 TheNormalnij talk contribs created page 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:26, 21 April 2024 TheNormalnij talk contribs created page Template:Building functions (Created page with "<ul> <li>createBuilding</li> <li>removeAllGameBuildings</li> <li>restoreAllGameBuildings</li> </ul> <noinclude>Category:Functions templates</noinclude>")
- 02:53, 10 November 2023 TheNormalnij talk contribs created page 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...")
- 15:00, 6 September 2023 TheNormalnij talk contribs created page 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...")
- 18:26, 3 September 2023 TheNormalnij talk contribs created page 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...")
- 17:04, 3 September 2023 TheNormalnij talk contribs created page 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...")
- 20:36, 16 April 2023 TheNormalnij talk contribs created page EngineSetModelFlag (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function changes specific model flag.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineSetModelFlag( int modelID, string flagName, bool state ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to set flag. * '''flagName''': flag name. * '''state''': flag state. ===Returns=== Returns ''boolean'' with flag state, throws an erro...")
- 19:18, 16 April 2023 TheNormalnij talk contribs created page EngineGetModelFlag (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function returns specific model flag.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineGetModelFlags( int modelID, string flagName ) </syntaxhighlight> ===Required Arguments=== * '''modelID''': ID of the model you want to get flags. * '''flagName''': flag name. ===Returns=== Returns ''true'' if flag enabled, ''false'' otherwise. ==See Also== {{Engine_functions}}")
- 19:12, 16 April 2023 TheNormalnij talk contribs created page EngineGetModelFlags (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function returns model flags.}} ==Syntax== <syntaxhighlight lang="lua"> int engineGetModelFlags( int modelID ) </syntaxhighlight> {{OOP||Engine.getModelFlags}} ===Required Arguments=== * '''modelID''': ID of the model you want to get flags. ===Returns=== Returns ''int'' with model flags in GTA format, throws an error otherwise. ==See Also== {{Engine_functions}}")
- 19:05, 16 April 2023 TheNormalnij talk contribs created page EngineSetModelFlags (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function changes model flags.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineSetModelFlags( int modelID, int flags [, bool ideFlags] ) </syntaxhighlight> {{OOP||Engine.setModelFlags}} ===Required Arguments=== * '''modelID''': ID of the model you want to change. * '''flags''': flags. ===Optional Arguments=== {{OptionalArg}} * '''ideFlags''': use IDE flag format. ===Returns=== Returns ''true'...")
- 18:48, 16 April 2023 TheNormalnij talk contribs created page EngineResetModelFlags (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function restores model flags to default state.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineResetModelFlags( int modelID ) </syntaxhighlight> {{OOP||Engine.resetModelFlags}} ===Required Arguments=== * '''modelID''': ID of the model you want to reset. ===Returns=== Returns ''true'' if model flags was successfully restored, ''false'' otherwise. ==See Also== {{Engine_functions}}")
- 15:27, 10 April 2023 TheNormalnij talk contribs created page EngineImageGetFilesCount (Created page with "__NOTOC__ {{Client function}} This function returns the number of files an IMG file has. ==Syntax== <syntaxhighlight lang="lua"> int engineImageGetFilesCount ( img imgArchive ) </syntaxhighlight> {{OOP||img:getFilesCount||}} ===Required Arguments=== *'''imgArchive:''' the IMG archive handler ===Returns=== Returns an ''int'' with the number of files. ==Example== You could use the following code: <syntaxhighlight lang="lua"> local img = engineLoadIMG( "file.im...")
- 13:22, 3 August 2013 User account TheNormalnij talk contribs was created