New pages

Jump to navigation Jump to search
New pages
Hide bots | Show redirects
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 11:39, 11 June 2023IT/Resource:Mapmanager (hist | edit) ‎[13,845 bytes]Myonlake (talk | contribs) (Created page with "{{IT/MainP}} Category:100% {{IT/Risorsa}} Il '''map manager''' è una risorsa inclusa nel pacchetto server di MTA:SA DM e comprende comandi, funzioni ed eventi per le gamemodes per gestire dinamicamente le loro mappe. Ad esempio, quando un server ha bisogno di caricare diverse mappe per una race mode, invece di essere messe tutte nella risorsa della gamemode, possono essere inserite in una risorsa separata ed essere successivamente richiamate con la funzione "changeG...")
  • 08:49, 11 June 2023Page unavailable (hist | edit) ‎[297 bytes]Myonlake (talk | contribs) (Created page with "<!-- DO NOT DELETE THIS PAGE. This page is used by Wiki mirrors as a fallback page for pages that are not mirrored. --> This page is not currently available, please try again later. If you're coming from a Wiki mirror, this page has been excluded from the mirror to reduce the amount of pages.")
  • 16:01, 29 April 2023PL/Timeline (hist | edit) ‎[12,927 bytes]FileEX (talk | contribs) (Translated)
  • 09:04, 17 April 2023SetScreenFlash (hist | edit) ‎[834 bytes]Hydra (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle/> __NOTOC__ This function allows you to attach an effect to an element. ==Syntax== <syntaxhighlight lang="lua">bool setScreenFlash()</syntaxhighlight> ==Code== <syntaxhighlight lang="lua"> function setScreenFlash() fadeCamera(false, 0.2, 255, 255, 255) setTimer(function() fadeCamera(true) end, 100, 1) end) </syntaxhighlight> ==Example== <section name="Client" class="client" show="true"> Quick Example, your scree...")
  • 02:14, 17 April 2023Model flags (hist | edit) ‎[2,033 bytes]Nurupo (talk | contribs) (Created page with "{| class="wikitable" !Flag Name !Description !Examples |- |is_road |Identifies objects to draw "wet reflections" on them. |Roads |- |draw_last |Model is transparent. Render this object after all opaque objects, allowing transparencies of other objects to be visible through this object. |Fences, trees |- |addictive |Render with additive blending. Previous flag will be enabled automatically. |Night windows |- |ignore_lighting |Don't use static lighting, we want dynamic if...")
  • 20:36, 16 April 2023EngineSetModelFlag (hist | edit) ‎[522 bytes]TheNormalnij (talk | contribs) (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 2023EngineGetModelFlag (hist | edit) ‎[475 bytes]TheNormalnij (talk | contribs) (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 2023EngineGetModelFlags (hist | edit) ‎[452 bytes]TheNormalnij (talk | contribs) (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 2023EngineSetModelFlags (hist | edit) ‎[589 bytes]TheNormalnij (talk | contribs) (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 2023EngineResetModelFlags (hist | edit) ‎[463 bytes]TheNormalnij (talk | contribs) (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}}")
  • 18:08, 10 April 2023EngineGetModelTXDID (hist | edit) ‎[422 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function gets TXD ID from a model.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineGetModelTXDID ( int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''modelID''': ID of the model you want to get TXD ID from. ===Returns=== Returns ID if successful, false otherwise. ==See Also== {{Engine_functions}}")
  • 18:03, 10 April 2023EngineImageGetFile (hist | edit) ‎[815 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function adds an IMG file container to GTA.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineImageGetFile ( img img_file, string file_name ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to get file from. * '''file_name'': Name of the file you want to get. ===Returns==...")
  • 18:02, 10 April 2023EngineImageGetFiles (hist | edit) ‎[824 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function gets the files from an IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineImageGetFiles ( img img_file ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to get files from. ===Returns=== Returns files in the IMG element if successfull, false othe...")
  • 17:54, 10 April 2023EngineRestoreTXDImage (hist | edit) ‎[621 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function restores changes to TXD file from IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineRestoreTXDImage ( 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,...")
  • 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...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)