New pages
Jump to navigation
Jump to search
- 14:16, 22 June 2024 EngineSetPoolCapacity (hist | edit) [505 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function changes the capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> boolean engineSetPoolCapacity( string pool, number capacity ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool * '''capacity ''': New size ===Returns=== '''true''' if the pool capacity was changed and '''false''' if not. Throws an error if the pool is invalid. {{Engine_pools}} ==S...")
- 14:11, 22 June 2024 EngineGetPoolCapacity (hist | edit) [404 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}")
- 14:08, 22 June 2024 EngineGetPoolUsedCapacity (hist | edit) [418 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the used capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolUsedCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The used capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}")
- 14:08, 22 June 2024 EngineGetPoolDefaultCapacity (hist | edit) [427 bytes] TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|22471|This function returns the default capacity of the provided pool.}} ==Syntax== <syntaxhighlight lang="lua"> number engineGetPoolDefaultCapacity( string pool ) </syntaxhighlight> ===Required Arguments=== * '''pool''': Name of the pool ===Returns=== The default capacity of the provided pool as positive number {{Engine_pools}} ==See Also== {{Engine_functions}}")
- 18:08, 21 June 2024 PL/Filepath (hist | edit) [1,882 bytes] FileEX (talk | contribs) (Translate)
- 14:55, 19 June 2024 New coding guidelines (hist | edit) [10,144 bytes] FileEX (talk | contribs) (Created page with "This page contains new and unofficial coding guidelines. <br><br> <ol> <li>Use '''const''' and '''constexpr''' wherever possible.</li> <li>Use the '''noexcept''' specifier whenever possible.</li> <li>Use '''nullptr''' instead of '''NULL''' when setting or returning a null pointer.</li> <li>Functions that only return a value should be placed in header files. For example, instead of: <syntaxhighlight lang="cpp"> // In .cpp file int GetGameSpeed() { return m_iGameSp...")
- 13:55, 11 June 2024 FxCreateParticle (hist | edit) [2,195 bytes] FileEX (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Creates the given particles of the specified color. Can be useful for creating flares, toxic fumes, reward effects, etc. ==Syntax== <syntaxhighlight lang="lua"> bool fxCreateParticle(string particle, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float r, float g, float b, float a [, bool randomizeColors = false, int count = 1, float brightness = 1.0, float size = 0.3, bool randomSizes = false, float life = 1.0 ]) <...")
- 13:06, 11 June 2024 Particles (hist | edit) [2,662 bytes] FileEX (talk | contribs) (Created page with "This page contains a list of particles that can be created by fxCreateParticle <div> <ul> <li style="display:inline-block;">frame|'''Particle:''' blood<br>'''Color:''' 59, 245, 146, 255<br>'''Count:''' 20</li> <li style="display:inline-block;">frame|'''Particle:''' boat_splash<br>'''Color:''' 92, 177, 237, 255<br>'''Count:''' 20</li> <li style="display:inline-block;">File:Prt_bubble.gif|frame|'''Particle:''' bubbl...")
- 09:44, 9 June 2024 GetVehicleIdleRespawnDelay (hist | edit) [1,063 bytes] Tracer (talk | contribs) (Created page with "__NOTOC__ {{Server function}} {{Added feature/item|1.6.1|1.6.0|22505|This function gets the time delay (in milliseconds) the vehicle will remain at its position while empty.}} ==Syntax== <syntaxhighlight lang="lua"> int getVehicleIdleRespawnDelay ( vehicle theVehicle ) </syntaxhighlight> {{OOP||vehicle:getIdleRespawnDelay|idleRespawnDelay|setVehicleIdleRespawnDelay}} ===Required Arguments=== *'''theVehicle''': The vehicle you wish to get the idle delay of. ==...")
- 09:41, 9 June 2024 GetVehicleRespawnDelay (hist | edit) [1,034 bytes] Tracer (talk | contribs) (Created page with "__NOTOC__ {{Server function}} This function gets the time delay (in milliseconds) the vehicle will remain wrecked before respawning. ==Syntax== <syntaxhighlight lang="lua"> int getVehicleRespawnDelay ( vehicle theVehicle ) </syntaxhighlight> {{OOP||vehicle:getRespawnDelay|respawnDelay|setVehicleRespawnDelay}} ===Required Arguments=== *'''theVehicle''': The vehicle you wish to get the respawn delay of. ==Returns== Returns the delay in milliseconds. ==Example=...")
- 09:33, 9 June 2024 IsVehicleRespawnable (hist | edit) [972 bytes] Tracer (talk | contribs) (Created page with "{{Server function}} __NOTOC__ {{Added feature/item|1.6.1|1.6.0|22505|This function check if the vehicle is respawnable.}} ==Syntax== <syntaxhighlight lang="lua"> bool isVehicleRespawnable ( vehicle theVehicle ) </syntaxhighlight> {{OOP||vehicle:isRespawnable}} ===Required Arguments=== *'''theVehicle:''' The vehicle which you'd like to get respawn state of. ===Returns=== Returns three '''true''' if the vehicle is respawnable, '''false''' otherwise. ==Example==...")
- 01:13, 8 June 2024 EngineStreamingRestoreBufferSize (hist | edit) [721 bytes] Nico834 (talk | contribs) (Filling in page data & structure)
- 08:21, 6 June 2024 String.repetition (hist | edit) [943 bytes] Tracer (talk | contribs) (Moved string.repeat to string.repetition due to syntax issues)
- 18:25, 3 June 2024 Tasks Info (hist | edit) [542 bytes] Tracer (talk | contribs) (Information about each ped task)