New pages

Jump to navigation Jump to search
New pages
Hide bots | Show redirects
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 07:47, 2 October 2023RO/getSoundFFTData (hist | edit) ‎[2,683 bytes]Hydra (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Această funcție obține datele transformării rapide Fourier pentru un flux audio, care este un tabel de valori float reprezentând cadrul audio curent. Acest lucru permite vizualizări, de exemplu. O transformare Fourier rapidă generează un tabel cu toate frecvențele din cadrul audio curent, care începe de la capătul de jos al spectrului, trecând de la frecvențe medii la cele înalte, în această ordine. În cazul în care întâ...")
  • 07:12, 1 October 2023Table.flip (hist | edit) ‎[1,436 bytes]IManGaaX (talk | contribs) (Created page with "==Syntax== <syntaxhighlight lang="lua">string table.flip( table )</syntaxhighlight> ===Required Arguments=== * '''tbl''': The table to convert. ===Returns=== Returns table with flip values <section name="Shared function" class="both" show="true"> <syntaxhighlight lang="lua"> function table.flip(theTable) if (type(theTable) == "table") then local newTable = {} local tableNumber = -1 for i = 1, #theTable do tableNumber = tableNumber + 1 table.insert(newTabl...")
  • 17:32, 23 September 2023ProcessLineAgainstMesh (hist | edit) ‎[2,113 bytes]Pirulax (talk | contribs) (Create the page. Needs an example!)
  • 08:11, 21 September 2023SetCursorCenteredOnRectangle (hist | edit) ‎[1,286 bytes]Hydra (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ This function will center the cursor inside of an rectangle. ==Syntax== <syntaxhighlight lang="lua">bool setCursorCenteredOnRectangle ( float x, float y, float width, float height)</syntaxhighlight> ===Required Arguments=== * '''x:''' The x position of the rectangle. * '''y:''' The y position of the rectangle. * '''width:''' The width of the rectangle. * '''height:''' The width of the rectangle. ===Returns=== Returns a ''true'' if the op...")
  • 15:00, 6 September 2023EngineResetModelTXDID (hist | edit) ‎[545 bytes]TheNormalnij (talk | contribs) (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 2023EngineFreeTXD (hist | edit) ‎[674 bytes]TheNormalnij (talk | contribs) (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 2023EngineRequestTXD (hist | edit) ‎[1,266 bytes]TheNormalnij (talk | contribs) (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...")
  • 03:00, 3 September 2023DgsCircleGetColor (hist | edit) ‎[892 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the color of the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> int dgsCircleGetColor( element circle ) </syntaxhighlight> ===Required Arguments=== *'''rndRect:''' A dgs circle element. ===Returns=== Returns an ''int'' value of the color if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs function fromcolor(int) --from color local...")
  • 02:59, 3 September 2023DgsCircleSetColor (hist | edit) ‎[709 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the color of the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetColor( element circle, int color ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin that you want to change. *'''color:''' An int of the color of the dgs circle. ===Returns=== Returns ''true'' if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get expor...")
  • 02:56, 3 September 2023DgsCircleGetTextureRotation (hist | edit) ‎[798 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the texture rotation from the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float, float, float dgsCircleGetTextureRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle''': A dgs-dxcircle plugin. ===Returns=== Returns 3 ''floats'' indicates '''rotation degree''', '''rotation center x''' and '''rotation center y''' if successful, ''false'' otherwise. ==Example== <syntaxhighlight la...")
  • 02:52, 3 September 2023DgsCircleGetDirection (hist | edit) ‎[698 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the direction from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleGetDirection( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''bool'' indicates if dgs circle is anti-clockwise or clockwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5,0....")
  • 02:51, 3 September 2023DgsCircleSetDirection (hist | edit) ‎[964 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the direction of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetDirection( element circle, bool direction ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''direction : ''' A bool indicates if dgs circle is anti-clockwise or clockwise. **''true:'' anti-clockwise **''false:'' clockwise ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Exa...")
  • 02:31, 3 September 2023DgsCircleSetAngle (hist | edit) ‎[644 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the angle of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetAngle( element circle, float rotation ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''angle: ''' A float of the angle in degrees. ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs loc...")
  • 02:29, 3 September 2023DgsCircleGetRotation (hist | edit) ‎[698 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the rotation from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float dgsCircleGetRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''float'' indicates the rotation of dgs circle, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5...")
  • 02:28, 3 September 2023DgsCircleGetAngle (hist | edit) ‎[655 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the rotation from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float dgsCircleGetRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''float'' indicates the rotation of dgs circle, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5...")
  • 02:27, 3 September 2023DgsCircleSetRotation (hist | edit) ‎[687 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the rotation of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetRotation( element circle, float rotation ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''rotation : ''' A float of the rotation in degrees. ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions...")
  • 02:42, 30 August 2023GetColorFilter (hist | edit) ‎[3,498 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Added feature/item|3.0161|1.6.0|22188|This function is used to get the values of color filtering.}} {{Tip|Normally the game is adding these colors to a screen to simulate weather effects. Sometimes it can be important to disable these effects. You can get rid of the effects by calling setColorFilter with zero values.}} ==Syntax== <syntaxhighlight lang="lua"> int, int, int, int, int, int, int, int getColorFilter ( bool isOriginal )...")
  • 23:32, 25 August 2023EngineStreamingGetBufferSize (hist | edit) ‎[1,166 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21874|Get the streaming buffer size ['''not''' maximum memory size]}} ==Syntax== <syntaxhighlight lang="lua"> number engineStreamingGetBufferSize() </syntaxhighlight> {{OOP||EngineStreaming:setBufferSize|bufferSize|engineStreamingGetBufferSize}} ===Returns=== The streaming buffer size. It is always a positive non-zero number. ==Example== This example adds a command that can be used to change the streamin...")
  • 23:30, 25 August 2023EngineStreamingSetBufferSize (hist | edit) ‎[1,663 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21874|Get the streaming buffer size. The larger it is, the more models can be loaded in one go BUT increases the RAM ['''not''' streaming memory!] usage. Can help with custom IMG loading speed by reducing pop-in.}} {{Important Note|'''This function is meant for advanced users only, as it can lead to stability issues'''. Using a very high value might result in more crashes, while using a value too low might le...")
  • 23:19, 25 August 2023EngineStreamingRestoreMemorySize (hist | edit) ‎[1,032 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21874|Restores the maximum amount of RAM [in bytes] that can be used for streaming to the default value}} {{Tip|The function to manipulate the memory size is engineStreamingSetMemorySize}} ==Syntax== <syntaxhighlight lang="lua"> nil engineStreamingSetMemorySize() </syntaxhighlight> {{OOP||EngineStreaming:restoreMemorySize||}} ==Example== This example adds a command that can be used to change the stre...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)