User contributions for Tracer
Jump to navigation
Jump to search
26 May 2024
- 12:0212:02, 26 May 2024 diff hist +116 Template:Useful Functions Added new function: `string.repeat`
- 11:3211:32, 26 May 2024 diff hist +861 N PathIsFile Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470|Checks if a specified path points to a file.}} ==Syntax== <syntaxhighlight lang="lua"> table pathIsFile ( string path ) </syntaxhighlight> {{OOP||path:isFile}} ===Required Arguments=== *'''path:''' A string containing a path you want to check against ===Returns=== Returns '''true''' if the path points to a file, '''false''' otherwise. ==Example== <section name="Share..."
- 11:2511:25, 26 May 2024 diff hist +842 N String.startsWith Created page with "{{Useful Function}} __NOTOC__ This function checks if a string starts with other string. ==Syntax== <syntaxhighlight lang="lua"> bool string.startsWith ( string prefix ) </syntaxhighlight> ===Required Arguments=== * '''suffix''': Prefix you want to check your string against ===Returns=== Returns true if string starts with a prefix, false otherwise. ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string.startsWith..." current
- 11:2211:22, 26 May 2024 diff hist +137 Template:Useful Functions Added `string.startsWith`
- 11:2011:20, 26 May 2024 diff hist +7 m PathListDir Fixed `See also` section
- 11:2011:20, 26 May 2024 diff hist +1,631 N PathListDir Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470| Reads a specified directory and returns all entries inside of it. }} ==Syntax== <syntaxhighlight lang="lua"> table pathListDir ( string path ) </syntaxhighlight> {{OOP||path:listDir}} ===Required Arguments=== *'''path:''' A string containing a path you want to get entries from ===Returns=== Returns table with all entries in a specified directory. ==Example== <section name="Client" clas..."
- 10:4810:48, 26 May 2024 diff hist +871 N String.endsWith Created page with "{{Useful Function}} __NOTOC__ This function checks if a string ends with other string. ==Syntax== <syntaxhighlight lang="lua"> bool string.endsWith ( string suffix ) </syntaxhighlight> ===Required Arguments=== * '''suffix''': Suffix you want to check your string against ===Returns=== Returns true if string ends with a suffix, false otherwise. ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string:endsWith(suffix)..." current
- 10:4210:42, 26 May 2024 diff hist +157 Template:Useful Functions Added String functions
- 10:3310:33, 26 May 2024 diff hist +182 N Template:Shared path functions Created page with "<ul> {{New items|3.0161|1.6.0| <li>pathListDir</li> <li>pathIsFile</li> <li>pathIsDirectory</li> |22470}} </ul> <noinclude> Category:Functions templates </noinclude>" current
- 10:3210:32, 26 May 2024 diff hist +46 Shared Scripting Functions Added path functions
- 10:3010:30, 26 May 2024 diff hist +1,199 N GetAccountType Created page with "__NOTOC__ {{Server function}} {{New feature/item|3.0161|1.6.0|22470|This function returns an account type.}} ==Syntax== <syntaxhighlight lang="lua"> string getAccountType ( account theAccount ) </syntaxhighlight> {{OOP|This function is a static function underneath the Account class.|Account.getType||}} ===Required Arguments=== *'''theAccount:''' An account you want to get info from ===Returns=== Returns ''string'' containing the type of the account if t..."
- 10:0710:07, 26 May 2024 diff hist +63 Template:Account functions Added new function: `getAccountType`
- 10:0610:06, 26 May 2024 diff hist +93 Template:Account events Added new events: `onAccountCreate`, `onAccountRemove` current
- 10:0310:03, 26 May 2024 diff hist −1 m OnAccountCreate Fixed a typo current
- 10:0210:02, 26 May 2024 diff hist +833 N OnAccountRemove Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an account is removed}} ==Parameters== <syntaxhighlight lang="lua"> account theAccount </syntaxhighlight> *'''theAccount:''' An account element that was removed ==Source== The source of this event is the root element. ==Canceling== This event cannot be canceled. ==Example== This example prints a messa..." current
- 10:0110:01, 26 May 2024 diff hist +811 N OnAccountCreate Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22470|This event is triggered every time an account is created}} ==Parameters== <syntaxhighlight lang="lua"> account theAccount </syntaxhighlight> *'''theAccount:''' An account element that was created ==Source== The source of this event is the root element. ==Canceling== This event cannot be canceled. ==Example== This example prints a messa..."
- 09:4909:49, 26 May 2024 diff hist 0 Changes in 1.6.1 No edit summary
- 09:4909:49, 26 May 2024 diff hist +20 m Changes in 1.6.1 Added new function: `getAccountType`
- 09:4509:45, 26 May 2024 diff hist +516 m Changes in 1.6.1 Added new features from Github
23 May 2024
- 19:3319:33, 23 May 2024 diff hist +155 m Changes in 1.6.1 Added `onResourceStateChange`
- 18:3018:30, 23 May 2024 diff hist −1 m OnResourceStateChange Fixed abnormal gap current
- 18:2918:29, 23 May 2024 diff hist +1,362 N OnResourceStateChange Created page with "{{Server event}} <!-- Change version when https://buildinfo.multitheftauto.com will be updated --> {{Added feature/item|1.6.1|1.6.0|22430| This event is triggered when a resource's state is changed. This event is an extended version of onResourceLoadStateChange }} __NOTOC__ ==Parameters== <syntaxhighlight lang="lua"> resource changedResource, string oldState, string newState </syntaxhighlight> *'''changedResource''': The resource that was either loaded, re..."
21 May 2024
- 14:3614:36, 21 May 2024 diff hist −308 m OnClientFileDownloadComplete Improved example current
20 May 2024
- 09:2309:23, 20 May 2024 diff hist +135 m GTA Crash Codes Added new entry: `0x000D7BD6`
13 May 2024
- 11:4411:44, 13 May 2024 diff hist +104 Modules/CMR Protected Removed portugese translation
12 May 2024
- 18:0518:05, 12 May 2024 diff hist +136 m GTA Crash Codes Added new entry: `0x00354B1C`
9 May 2024
- 16:5316:53, 9 May 2024 diff hist +137 m GTA Crash Codes Added another entry: 0x001E26EE
30 April 2024
- 08:1108:11, 30 April 2024 diff hist +193 Changes in 1.6 Added #2906 bugfix
29 April 2024
- 20:0620:06, 29 April 2024 diff hist +187 Changes in 1.6 Added #3021 bugfix
- 16:5816:58, 29 April 2024 diff hist +148 Changes in 1.6.1 Added `resetPedVoice` entry
- 16:0916:09, 29 April 2024 diff hist +13 m GTA Crash Codes Fixed formatting
- 16:0816:08, 29 April 2024 diff hist +113 m GTA Crash Codes Added another entry: 0x0032F4DE
28 April 2024
- 19:1119:11, 28 April 2024 diff hist +36 m SetServerConfigSetting No edit summary
5 April 2024
- 10:3210:32, 5 April 2024 diff hist −52 m IsPlayerAccount No edit summary current
- 10:3210:32, 5 April 2024 diff hist +182 m Template:Useful Functions Added IsPlayerAccount to the list
- 10:3010:30, 5 April 2024 diff hist +1,120 N IsPlayerAccount Created page with "{{Useful Function}} __NOTOC__ This function checks if the account is valid player account (the account exists and is not a guest account) == Syntax == <syntaxhighlight lang="lua"> bool isPlayerAccount ( account theAccount )</syntaxhighlight> === Required Arguments === * '''theAccount''': The account you want to check === Returns === Returns true if the account is valid, false otherwise == Code == <section name="Server" class="server" show="true"> <syntaxhighlight lan..."
- 10:2010:20, 5 April 2024 diff hist −2 m Changes in 1.6.1 Change contributor's name from TracerDS To Tracer
3 April 2024
- 14:5014:50, 3 April 2024 diff hist −135 Template:Useful Functions Removed `getPlayerAcls` from the list: Marked for deletion
- 14:4914:49, 3 April 2024 diff hist +13 GetPlayerAcls Marked for deletion
1 April 2024
- 10:5610:56, 1 April 2024 diff hist −134 m Template:Useful Functions Removed isSoundPlaying from the list: Useless function
- 10:5410:54, 1 April 2024 diff hist +76 Template:Useless Function Marked for deletion (useless useful template) current
- 10:5010:50, 1 April 2024 diff hist +18 IsSoundPlaying Marked for deletion
28 March 2024
- 21:0921:09, 28 March 2024 diff hist +53 m Famous crash offsets and their meaning Added reference to GTA_Crash_Codes
- 21:0821:08, 28 March 2024 diff hist +7 m GTA Crash Codes Sorted the offsets
- 20:5020:50, 28 March 2024 diff hist −143 m GTA Crash Codes Removed duplications
- 20:4720:47, 28 March 2024 diff hist +5,723 m GTA Crash Codes Added related functions
- 20:3120:31, 28 March 2024 diff hist +4,978 m GTA Crash Codes Added more offsets, removed old templates, provided descriptions for most functions (moved from Famous_crash_offsets_and_their_meaning)
- 17:2917:29, 28 March 2024 diff hist +64 m GTA Crash Codes Added another entry: 0x0034E85A
23 March 2024
- 15:2015:20, 23 March 2024 diff hist +47 m GTA Crash Codes Added signatures to gta functions
- 14:3214:32, 23 March 2024 diff hist +566 N GTA Crash Codes Created page with "== Code: 0xC0000005 == {| class="wikitable" |- ! Offset !! Function |- | {{CrashCodeEntry|0x0013388E|CEntity::CreateEffects()}} |- | {{CrashCodeEntry|0x0000F64C|CCollisionData::GetShadTrianglePoint(CVector&, int)}} |- | {{CrashCodeEntry|0x000F0EBA|CAEStaticChannel::SetAudioBuffer(OALBuffer*, ushort, short, short, ushort)}} |- | {{CrashCodeEntry|0x003C91CC|__rpD3D9SkinGeometryReinstance}} |- | {{CrashCodeEntry|0x002FE144|CCustomRoadsignMgr::Initialise()}} |- | {{CrashCo..."