New pages

Jump to navigation Jump to search
New pages
Hide bots | Hide redirects
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 16:20, 18 October 2023IsPedNearbyWall (hist | edit) ‎[2,377 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ <lowercasetitle></lowercasetitle> This function checks if player/ped is nearby walls like buildings or objects. ==Syntax== <syntaxhighlight lang="lua">bool isPedNearbyWall( element element[player/ped] )</syntaxhighlight> ===Required Arguments=== * '''element''': the player/ped element to check. ===Returns=== * ''true'' if the player/ped is nearby a wall. * ''false'' otherwise. ==Code== <section name="Client" class="client...")
  • 12:17, 18 October 2023AclObjectGetGroups (hist | edit) ‎[966 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Server function}} This function returns a table of all groups the object is in. ==Syntax== <syntaxhighlight lang="lua"> table aclObjectGetGroups ( string object ) </syntaxhighlight> ===Required Arguments=== * '''object:''' The name of the ACL entry to get groups of ===Returns=== Returns a table of all groups the object is in on success, false if something went wrong. ==Examples== This example outputs a list of all groups of the calling user <section...")
  • 06:06, 14 October 2023DxDrawModel3D (hist | edit) ‎[1,670 bytes]CrosRoad95 (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|You can not use this function to draw vehicles and ped}} {{Important Note|This function doesn't obey any streaming limits, you can draw as many models as you want}} {{Important Note|You can not render model to render target.}} This function draws a 3D model - rendered for '''one''' frame. Drawn models are indistinguishable from this one created by "createObject" function. This should be used in conjunction with onClientR...")
  • 03:28, 14 October 2023DxFade (hist | edit) ‎[3,779 bytes]LordHenry (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function allows you to fade-in or fade-out any dxDraw by gradually changing its alpha value.<br> {{Note|You can fade up to 3 values at the same time, as long as they are properly declared together on the same interpolateBetween function and on the ''dxFade'' function parameters.}} {{Note|If you need to start another fade while this function is already fading something, you will need another ''dxFade...")
  • 16:42, 12 October 2023SetDiscordRichPresenceEndTime (hist | edit) ‎[1,363 bytes]LopSided (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|To use this function, you must set up your own application setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22270| This function sets the remaining time of Discord Rich Presence. }} ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceEndTime(int seconds) </syntaxhighlight> {{OOP||DiscordRPC:setEndTime}} ===Required arguments=== *'''seconds''': an integer representing the number of seconds...")
  • 06:37, 12 October 2023SetDiscordRichPresencePartySize (hist | edit) ‎[1,406 bytes]LopSided (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|To use this function, you must set up your own application setDiscordApplicationID}} {{Note|For the party size to be displayed, the state must be set setDiscordRichPresenceState}} {{New feature/item|3.0161|1.6.0|22270| This function sets the party size of Discord Rich Presence. }} ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresencePartySize(int size, int max) </syntaxhighlight> {{OOP||DiscordRPC...")
  • 06:35, 12 October 2023SetDiscordRichPresenceStartTime (hist | edit) ‎[1,234 bytes]LopSided (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|To use this function, you must set up your own application setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22270| This function sets the elapsed time of Discord Rich Presence. }} ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceStartTime(int seconds) </syntaxhighlight> {{OOP||DiscordRPC:setDetails}} ===Required arguments=== *'''seconds''': an integer representing the number of seconds...")
  • 20:05, 10 October 2023SetDiscordRichPresenceButton (hist | edit) ‎[1,449 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function sets a custom button through which we can access the website on Discord. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceButton(int index, string text, string url) </syntaxhighlight> {{OOP||DiscordRPC:setButton}} ===Required arguments=== *'''index''': a int index of the button (possible 1 and 2) *'''text''': a string with title name *'''url''': a string with url name (works only with '''https://''' or...")
  • 19:58, 10 October 2023SetDiscordRichPresenceDetails (hist | edit) ‎[1,233 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function sets own details text on Rich Presence. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceDetails(string details) </syntaxhighlight> {{OOP||DiscordRPC:setDetails}} ===Required arguments=== *'''details''': a string with details name ===Returns=== Returns ''true'' if function succeeds, ''false'' if the client has disabled synchronisation. ==Example== This example prints out if the application was succes...")
  • 19:50, 10 October 2023SetDiscordRichPresenceState (hist | edit) ‎[1,113 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function sets own state text on Rich Presence. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceState(string state) </syntaxhighlight> {{OOP||DiscordRPC:setState}} ===Required arguments=== *'''state''': a string with state name ===Returns=== Returns ''true'' if function succeeds, ''false'' if the client has disabled synchronisation. ==Example== This example prints out if the application was successfully set u...")
  • 19:45, 10 October 2023SetDiscordRichPresenceSmallAsset (hist | edit) ‎[1,402 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function, you can set the small image of the application. The maximum size of Assets is ''1024x1024'', the minimum ''512x512''. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceSmallAsset(string assetImage, string text) </syntaxhighlight> {{OOP||DiscordRPC:setSmallAsset}} ===Required arguments=== *'''assetImage''': a string indicating the image you uploaded to your application's asset list. *'''text''': a strin...")
  • 19:43, 10 October 2023SetDiscordRichPresenceAsset (hist | edit) ‎[1,383 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function, you can set the main image of the application. The maximum size of Assets is ''1024x1024'', the minimum ''512x512''. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceAsset(string assetImage, string text) </syntaxhighlight> {{OOP||DiscordRPC:setAsset}} ===Required arguments=== *'''assetImage''': a string indicating the image you uploaded to your application's asset list. *'''text''': a string displayed...")
  • 19:28, 10 October 2023SetDiscordApplicationID (hist | edit) ‎[1,445 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|To reset, please use resetDiscordRichPresenceData}} The function can assign your own application to use in Rich Presence. You can create own '''[https://discord.com/developers/applications here]''' ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordApplicationID(string applicationKey) </syntaxhighlight> {{OOP||DiscordRPC:setApplication}} ===Required arguments=== *'''applicationKey''': a string represent key...")
  • 19:04, 10 October 2023ResetDiscordRichPresenceData (hist | edit) ‎[1,051 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function resets all the data we have previously transmitted and sets to default. ==Syntax== <syntaxhighlight lang="lua"> bool resetDiscordRichPresenceData() </syntaxhighlight> ===Returns=== Returns ''true'' if reset was successfull, ''false'' if the client has disabled synchronisation. ==Example== The example shows if you set up your own application and sample asset and then reset the data. <syntaxhighlight lang="lua"> setDiscordAp...")
  • 18:53, 10 October 2023IsDiscordRichPresenceConnected (hist | edit) ‎[1,034 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function check the client has synchronisation with Discord Rich Presence enabled. ==Syntax== <syntaxhighlight lang="lua"> bool isDiscordRichPresenceConnected() </syntaxhighlight> {{OOP||DiscordRPC:isConnected}} ===Returns=== Returns ''true'' if the Discord Rich Presence is enabled on the client, ''false'' if the client has disabled synchronisation. ==Example== This example prints out if the client has enabled Discord Rich Prese...")
  • 05:38, 9 October 2023AR/table.flip (hist | edit) ‎[1,557 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ <lowercasetitle></lowercasetitle> هذه الوظيفة تقوم بإرجاع الجدول بالقيم من اخر قيمه لاول قيمه مثل الانعكاس ==Syntax== <syntaxhighlight lang="lua">table table.flip( table theTable )</syntaxhighlight> ===Required Arguments=== * '''theTable''': الجدول الذى تريد انعكاس قيمه. ===Returns=== إرجاع الجدول بالقيم من اخر الجدول إلى ا...")
  • 04:51, 7 October 2023GetElementZoneFullName (hist | edit) ‎[1,725 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function allows you to retrieve the zone full name of a element ==Syntax== <syntaxhighlight lang="lua">string getElementZoneFullName( element theElement )</syntaxhighlight> ===Required Arguments=== * '''theElement''': The element to get its full zone name ===Returns=== Returns the full name of the element zone ==Code== <section name="Shared" class="both" show="true"> <syntaxhighlight lang="lua"> fun...")
  • 16:09, 6 October 2023Debounce (hist | edit) ‎[1,202 bytes]CrosRoad95 (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function is removing unwanted input noise from buttons, switches or other user input. see: https://www.techtarget.com/whatis/definition/debouncing ==Syntax== <syntaxhighlight lang="lua"> void debounce( number timeout, function callback, ...arguments) </syntaxhighlight> ==Code== <section name="Shared" class="both" show="true"> <syntaxhighlight lang="lua"> local debounces = {} function debounce(timeou...")
  • 07:49, 6 October 2023OnPlayerZoneChange (hist | edit) ‎[2,201 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This code implements an event that is triggered when the player enters a new area on the map ==Parameters== <syntaxhighlight lang="lua">string newCity, string newZone</syntaxhighlight> * newCity: New city is name. * newZone: New zone is name. ==Source== The source of this event is the player whose zone was changed <section name="Shared event" class="both" show="true"> <syntaxhighlight lang="lua"> local p...")
  • 12:02, 3 October 2023IsLastExecuteInTimer (hist | edit) ‎[1,299 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function check if the execute in timer is the last execute ==Syntax== <syntaxhighlight lang="lua">bool isLastExecuteInTimer( timer theTimer )</syntaxhighlight> ===Required Arguments=== * '''theTimer''': The timer to check. ===Returns=== Returns ''true'' if the execute is the last execute in the timer, ''false'' if the execute is not the last execute in the timer <section name="Shared function" class...")
  • 08:02, 2 October 2023RO/getSoundProperties (hist | edit) ‎[1,754 bytes]Hydra (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0130|1.3.0|4097| Această funcție obține proprietățile unui anumit sound. }} ==Sintaxă== <syntaxhighlight lang="lua">float, float, float, bool getSoundProperties( element sound )</syntaxhighlight> {{OOP||sound:getProperties||setSoundProperties}} ===Argumente necesare=== *'''sound:'''' un sound element care este creat folosind playSound sau playSound3D. ===Returneaza=== Această funcție...")
  • 07:55, 2 October 2023RO/getSoundPan (hist | edit) ‎[925 bytes]Hydra (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Această funcție este utilizată pentru a obține nivelul de panoramare al elementului sound specificat. ==Sintaxă== <syntaxhighlight lang="lua">float getSoundPan ( element theSound )</syntaxhighlight> {{OOP||sound:getPan|pan|setSoundPan}} ===Argumente necesare=== *''''theSound:'''' elementul sound pe care doriți să îl obțineți. ===Returnează=== Returnează valoarea ''float'' cu intervalul de la ''-1,0 (stânga)'' l...")
  • 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...")
  • 21:15, 2 September 2023Client manual (hist | edit) ‎[27 bytes]Tracer (talk | contribs) (Redirected page to Client Manual) Tag: New redirect
  • 21:15, 2 September 2023Server manual (hist | edit) ‎[27 bytes]Tracer (talk | contribs) (Redirected page to Server Manual) Tag: New redirect
  • 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...")
  • 23:08, 25 August 2023EngineStreamingGetMemorySize (hist | edit) ‎[1,293 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21946|Gets the maximum amount of RAM [in bytes] that can be used for streaming}} ==Syntax== <syntaxhighlight lang="lua"> number engineStreamingGetMemorySize() </syntaxhighlight> {{OOP||EngineStreaming:getMemorySize|memorySize|engineStreamingSetMemorySize}} ==Returns== The maximum amount of RAM [in bytes] that can be used for streaming. It is always a non-zero positive number. ==Example== This example add...")
  • 23:02, 25 August 2023EngineStreamingSetMemorySize (hist | edit) ‎[1,684 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21946|Sets the maximum amount of [in bytes] that can be used for streaming}} {{Tip|To restore to the default value use engineStreamingRestoreMemorySize}} {{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 lead to frequent pop-in [and due to the way MTA works micro-st...")
  • 22:50, 25 August 2023EngineStreaming (hist | edit) ‎[98 bytes]Pirulax (talk | contribs) (Created page with "Static class used for manipulating the GTA:SA streaming engine.")
  • 00:30, 19 August 2023PT-BR/Introdução OOP (hist | edit) ‎[9,679 bytes]Sousateew (talk | contribs) (Created page with "{{Nota|Se você contribuiu editando e ajustando esta página do fórum, se você se beneficiou deste tutorial ou se você tem algo a dizer; por favor, me dê um feedback no link do fórum fornecido abaixo.}} Este é um tutorial de script que explica o que é programação orientada a objetos e ensina como usar os recursos de OOP (Programação Orientada a Objetos) do MTA. Isso foi originalmente criado por qaisjp (discussão)...")
  • 00:05, 18 August 2023DxDrawDiamond (hist | edit) ‎[1,316 bytes]Sousateew (talk | contribs) (Create (eS/dxDrawRombo by ClawSuit))
  • 11:40, 15 August 2023DgsComboBoxSetItemBackGroundColor (hist | edit) ‎[1,122 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function sets the background color of a specific item of the combo box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxSetItemBackGroundColor( element comboBox, int itemIndex, texture imageDefault, texture imageHoving, texture imageSelected ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. *'''colorDefault:''' An integer of the colo...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)