All public logs

Jump to navigation Jump to search

Combined display of all available logs of Multi Theft Auto: Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
(newest | oldest) View (newer 20 | ) (20 | 50 | 100 | 250 | 500)
  • 12:12, 26 May 2024 Tracer talk contribs created page PathIsDirectory (Created page with "__NOTOC__ {{Shared function}} {{Added feature/item|1.6.1|1.6.0|22470|Checks if a specified path points to a directory.}} ==Syntax== <syntaxhighlight lang="lua"> table pathIsDirectory ( string path ) </syntaxhighlight> {{OOP||path:isDirectory}} ===Required Arguments=== *'''path:''' A string containing a path you want to check against ===Returns=== Returns '''true''' if the path points to a directory, '''false''' otherwise. ==Example==...")
  • 12:10, 26 May 2024 Tracer talk contribs created page String.repeat (Created page with "{{Useful Function}} __NOTOC__ This function repeats a substring n times. ==Syntax== <syntaxhighlight lang="lua"> string string.repetition ( string what, int n ) </syntaxhighlight> ===Required Arguments=== * '''what''': String you want to repeat * '''n''': Number of times you want the string to repeat ===Returns=== Returns repeated string ==Code== <section name="Shared script" class="both" show="true"> <syntaxhighlight lang="lua"> function string.repetition(what, n)...")
  • 11:32, 26 May 2024 Tracer talk contribs created page 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:25, 26 May 2024 Tracer talk contribs created page 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...")
  • 11:20, 26 May 2024 Tracer talk contribs created page 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:48, 26 May 2024 Tracer talk contribs created page 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)...")
  • 10:33, 26 May 2024 Tracer talk contribs created page 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>")
  • 10:30, 26 May 2024 Tracer talk contribs created page 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:02, 26 May 2024 Tracer talk contribs created page 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...")
  • 10:01, 26 May 2024 Tracer talk contribs created page 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...")
  • 18:29, 23 May 2024 Tracer talk contribs created page 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...")
  • 10:30, 5 April 2024 Tracer talk contribs created page 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...")
  • 19:49, 28 March 2024 Tracer talk contribs created page Template:Syntaxhighlight (Created page with "<includeonly>{{#tag:syntaxhighlight|{{{1}}}|lang="{{#if:{{{2|}}}|{{{2}}}|c++}}"}}</includeonly> <noinclude> This template will add <code>syntaxhighlight</code> tag to the provided text. == Syntax == <syntaxhighlight lang="pcre"> {{Syntaxhighlight|text|lang}} </syntaxhighlight> === Required Arguments === * '''text:''' text you want to surround syntaxhighlight with. === Optional Arguments === * '''lang:''' codeblock language (e.g. c++, lua, python)...")
  • 14:32, 23 March 2024 Tracer talk contribs created page 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...")
  • 14:28, 23 March 2024 Tracer talk contribs created page Template:CrashCodeEntry (Created page with "<includeonly>{{#tag:syntaxhighlight|{{{1}}}|lang=c++}} || {{#tag:syntaxhighlight|{{{2}}}|lang=c++}}</includeonly> <noinclude> This template will include <code>syntaxhighlight</code> blocks in a table.<br/> Example: <syntaxhighlight lang="wiki"> {| class="wikitable" ! Offset !! Function |- | {{CrashCodeEntry|0x123|func()}} |- | {{CrashCodeEntry|0x456|otherFunc()}} |} </syntaxhighlight> {| class="wikitable" ! Offset !! Function |- | {{CrashCodeEntry|0x123|func()}} |- | {{C...")
  • 09:12, 20 November 2023 Tracer talk contribs created page Template:Vehicle Variants (Created page with "<includeonly> {| class="wikitable sortable" style="width: auto; table-layout: fixed;" |- ! scope="col" | Vehicle Name ! scope="col" | Vehicle ID ! scope="col" class="unsortable" | Variants |- | Ambulance | 416 | Numbers: 0 = 37, 1 = 71 |- | BF Injection | 424 | Body: 0 = Side Panels |- | BF-400 | 581 | Exhausts: 0 = Single Type1, 1 = Single Type2, 2 = Dual Type3 - Fairings (with Windshields): 3 = Half-size, 4 = Full-size |- | Bagboxb | 607 | Contents: 0,1,2 = Various dis...")
  • 18:04, 24 October 2023 Tracer talk contribs created page Talk:OnServerVehicleSpawn (Created page with "Why does this function exist? Why not just use some code after <code>spawnVehicle</code>? - ~~~~ :There are many scripts that use <code>spawnVehicle</code>. Does a person have to enter each script and add code? ~ IManGaaX ::They are gonna add code either way. And due to the nature of event handlers the code will also be delayed thus will conflict and cause unnecessary "disturbance" - ~~~~")
  • 12:17, 18 October 2023 Tracer talk contribs created page AclObjectGetGroups (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...")
  • 08:30, 28 September 2023 Tracer talk contribs moved page PL/Id to PL/ID (Better naming)
  • 08:23, 28 September 2023 Tracer talk contribs moved page Functions/engineStreamingSetProperty to MTA Eir/Functions/engineStreamingSetProperty
(newest | oldest) View (newer 20 | ) (20 | 50 | 100 | 250 | 500)