User contributions for TheNormalnij
Jump to navigation
Jump to search
16 April 2023
- 19:1219:12, 16 April 2023 diff hist +452 N 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}}" current
- 19:0819:08, 16 April 2023 diff hist +16 m EngineSetModelFlags No edit summary current
- 19:0519:05, 16 April 2023 diff hist +573 N 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:4818:48, 16 April 2023 diff hist +463 N 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}}" current
- 18:1318:13, 16 April 2023 diff hist −109 EngineRemoveImage Fix description
- 18:1218:12, 16 April 2023 diff hist −6 EngineAddImage Fix OOP Tag: Manual revert
10 April 2023
- 20:1020:10, 10 April 2023 diff hist −6 m EngineAddImage fix OOP
- 20:0920:09, 10 April 2023 diff hist +325 EngineImageLinkTXD No edit summary
- 20:0420:04, 10 April 2023 diff hist +1 m EngineImageLinkDFF No edit summary current
- 19:5019:50, 10 April 2023 diff hist +324 EngineImageLinkDFF Fix API description, add example
- 19:3919:39, 10 April 2023 diff hist 0 m EngineImageGetFiles No edit summary current
- 19:3919:39, 10 April 2023 diff hist +308 EngineImageGetFiles Fix description. Add example
- 19:3019:30, 10 April 2023 diff hist +9 EngineImageGetFilesCount Add variable param current
- 19:2719:27, 10 April 2023 diff hist +244 EngineImageGetFile Fix API description, add example current
- 19:1219:12, 10 April 2023 diff hist 0 m EngineAddImage No edit summary
- 19:1119:11, 10 April 2023 diff hist +67 EngineAddImage No edit summary
- 15:3315:33, 10 April 2023 diff hist +31 m EngineImageGetFilesCount added Category:Changes in 1.6.0 using HotCat Tag: Manual revert
- 15:3315:33, 10 April 2023 diff hist −31 m EngineImageGetFilesCount removed Category:Changes in 1.6.0 using HotCat Tag: Manual revert
- 15:3215:32, 10 April 2023 diff hist +31 m EngineImageGetFilesCount added Category:Changes in 1.6.0 using HotCat
- 15:2715:27, 10 April 2023 diff hist +633 N 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..."