User contributions for TheNormalnij

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽

17 April 2024

18 January 2024

10 November 2023

  • 02:5302:53, 10 November 2023 diff hist +570 N EngineSetModelTXDIDCreated page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22190|This function changes the TXD ID of the given model ID.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineSetModelTXDID( int modelID, int txdID ) </syntaxhighlight> {{OOP||Engine.setModelTXDID}} ===Required Arguments=== *'''modelID:''' The ID of the model to update TXD ID. *'''txdID:''' The ID of target TXD. Use engineRequestTXD to get a new TXD ID. ===Returns=== Returns ''true'' if this fu..." current
  • 02:4502:45, 10 November 2023 diff hist −53 EngineGetModelTXDIDNo edit summary current

6 September 2023

  • 15:0015:00, 6 September 2023 diff hist +545 N EngineResetModelTXDIDCreated 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..." current

3 September 2023

  • 18:2618:26, 3 September 2023 diff hist +674 N EngineFreeTXDCreated 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..." current
  • 18:2118:21, 3 September 2023 diff hist 0 m EngineRequestTXDfix new feature template
  • 17:0417:04, 3 September 2023 diff hist +1,266 N EngineRequestTXDCreated 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..."

1 September 2023

31 July 2023

21 July 2023

16 April 2023

  • 20:3620:36, 16 April 2023 diff hist +522 N EngineSetModelFlagCreated 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:1919:19, 16 April 2023 diff hist −1 m EngineGetModelFlagNo edit summary current
  • 19:1819:18, 16 April 2023 diff hist +476 N EngineGetModelFlagCreated 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:1219:12, 16 April 2023 diff hist +452 N EngineGetModelFlagsCreated 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}}" current
  • 19:0819:08, 16 April 2023 diff hist +16 m EngineSetModelFlagsNo edit summary current
  • 19:0519:05, 16 April 2023 diff hist +573 N EngineSetModelFlagsCreated 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:4818:48, 16 April 2023 diff hist +463 N EngineResetModelFlagsCreated 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}}" current
  • 18:1318:13, 16 April 2023 diff hist −109 EngineRemoveImageFix description
  • 18:1218:12, 16 April 2023 diff hist −6 EngineAddImageFix OOP Tag: Manual revert

10 April 2023

4 January 2022

23 November 2020

15 July 2020

24 April 2020

7 April 2020

13 March 2016

8 August 2014

  • 20:3720:37, 8 August 2014 diff hist +231 N Talk:GenerateRandomHEXColorCreated page with "<syntaxhighlight lang="lua">function generateRandomHEXColor( ) return '#' .. string.format( '%.6X', math.random( 0x000000, 0xFFFFFF ) ) end </syntaxhighlight> LOL --~~~~"

27 May 2014

23 May 2014

7 August 2013

3 August 2013