New pages

Jump to navigation Jump to search
New pages
Hide bots | Show redirects
(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)
  • 17:53, 10 April 2023EngineRestoreDFFImage (hist | edit) ‎[621 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function restores changed from IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineRestoreDFFImage ( int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''modelID''': ID of the model you want to restore. ===Returns=== Returns ''true'' if IMG file was successfully restored, ''false'' ot...")
  • 17:51, 10 April 2023EngineImageLinkTXD (hist | edit) ‎[1,156 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function links TXD file with an IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineImageLinkTXD ( img img_file, string file_path, int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to link. * '''file_path''': Path to the TXD file you want to li...")
  • 17:50, 10 April 2023EngineImageLinkDFF (hist | edit) ‎[1,076 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function links DFF with an IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineImageLinkDFF ( img img_file, string file_path, int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to link. * '''file_path''': Path to the DFF file you want to link. *...")
  • 17:42, 10 April 2023EngineAddImage (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 2023EngineRemoveImage (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 2023EngineImageGetFilesCount (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 2023EngineLoadIMG (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 2023Changes in 1.6.1 (hist | edit) ‎[32,749 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 2023PL/getSoundEffects (hist | edit) ‎[977 bytes]Tracer (talk | contribs) (Redirected page to GetSoundEffects) Tag: New redirect
  • 09:56, 8 April 2023PL/getSoundEffectParameters (hist | edit) ‎[1,176 bytes]Tracer (talk | contribs) (Redirected page to GetSoundEffectParameters) Tag: New redirect
  • 17:46, 7 April 2023PL/float (hist | edit) ‎[166 bytes]Tracer (talk | contribs) (Redirected page to Float) Tag: New redirect
  • 17:43, 7 April 2023PL/getSoundBufferLength (hist | edit) ‎[3,355 bytes]Tracer (talk | contribs) (TODO: Change the example)
  • 01:09, 4 April 2023GetElementRelatedAngle (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...")
(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)