New pages
Jump to navigation
Jump to search
- 17:42, 10 April 2023 EngineAddImage (hist | edit) [582 bytes] Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21708|This function adds an IMG filecontainer from GTA.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineAddImage( img img_file ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to add. ===Returns=== Returns an IMG element if the IMG file was successfully added, ''false'' o...")
- 17:40, 10 April 2023 EngineRemoveImage (hist | edit) [766 bytes] Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21708|This function removes an IMG container from GTA.}} {{Note|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineRemoveImage ( img img_file ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to remove. ===Returns=== Returns ''true'' if IMG file was successfully removed, ''false'' otherwise....")
- 15:27, 10 April 2023 EngineImageGetFilesCount (hist | edit) [673 bytes] TheNormalnij (talk | contribs) (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...")
- 23:54, 8 April 2023 EngineLoadIMG (hist | edit) [1,016 bytes] Insigne (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21708|This function loads an IMG container into GTA.}} ==Syntax== <syntaxhighlight lang="lua">img engineLoadIMG( string img_file )</syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The filepath to the IMG file you want to load. ===Returns=== Returns an IMG element if the IMG file loaded, ''false'' otherwise. ==See Also== {{Engine_functions}}")
- 20:12, 8 April 2023 Changes in 1.6.1 (hist | edit) [30,102 bytes] Myonlake (talk | contribs) (Created page with "<pageclass class="#4286f4" subcaption="Next release"></pageclass> {{Changelogs}} __NOTOC__ '''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.")
- 09:59, 8 April 2023 PL/getSoundEffects (hist | edit) [977 bytes] Tracer (talk | contribs) (Redirected page to GetSoundEffects) Tag: New redirect
- 09:56, 8 April 2023 PL/getSoundEffectParameters (hist | edit) [1,176 bytes] Tracer (talk | contribs) (Redirected page to GetSoundEffectParameters) Tag: New redirect
- 17:46, 7 April 2023 PL/float (hist | edit) [166 bytes] Tracer (talk | contribs) (Redirected page to Float) Tag: New redirect
- 17:43, 7 April 2023 PL/getSoundBufferLength (hist | edit) [3,355 bytes] Tracer (talk | contribs) (TODO: Change the example)
- 01:09, 4 April 2023 GetElementRelatedAngle (hist | edit) [3,926 bytes] LordHenry (talk | contribs) (Created page with "__NOTOC__ {{Useful Function}} This function returns the related angle between one element to another. This is useful to check if a player is on the left side of a vehicle, for example. ==Syntax== <syntaxhighlight lang="lua">float, float getElementRelatedAngle (element thisElement, element targetElement)</syntaxhighlight> ===Required Arguments=== * '''thisElement''': The element whose '''XY position''' will be checked to obtain the angle relative to the other...")