User contributions for Tracer

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

26 May 2024

  • 16:5816:58, 26 May 2024 diff hist −71 m ResetPedVoiceFixed all related issues current Tag: Manual revert
  • 16:5816:58, 26 May 2024 diff hist +93 m GetAccountTypeAdded issue note current
  • 12:1212:12, 26 May 2024 diff hist +1,630 N PathIsDirectoryCreated 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==..." current
  • 12:1012:10, 26 May 2024 diff hist +943 N String.repeatCreated 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)..." current
  • 12:0212:02, 26 May 2024 diff hist +116 Template:Useful FunctionsAdded new function: `string.repeat`
  • 11:3211:32, 26 May 2024 diff hist +861 N PathIsFileCreated 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..." current
  • 11:2511:25, 26 May 2024 diff hist +842 N String.startsWithCreated 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 FunctionsAdded `string.startsWith`
  • 11:2011:20, 26 May 2024 diff hist +7 m PathListDirFixed `See also` section current
  • 11:2011:20, 26 May 2024 diff hist +1,631 N PathListDirCreated 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.endsWithCreated 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 FunctionsAdded String functions
  • 10:3310:33, 26 May 2024 diff hist +182 N Template:Shared path functionsCreated 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 FunctionsAdded path functions current
  • 10:3010:30, 26 May 2024 diff hist +1,199 N GetAccountTypeCreated 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 functionsAdded new function: `getAccountType` current
  • 10:0610:06, 26 May 2024 diff hist +93 Template:Account eventsAdded new events: `onAccountCreate`, `onAccountRemove` current
  • 10:0310:03, 26 May 2024 diff hist −1 m OnAccountCreateFixed a typo current
  • 10:0210:02, 26 May 2024 diff hist +833 N OnAccountRemoveCreated 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 OnAccountCreateCreated 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.1No edit summary
  • 09:4909:49, 26 May 2024 diff hist +20 m Changes in 1.6.1Added new function: `getAccountType`
  • 09:4509:45, 26 May 2024 diff hist +516 m Changes in 1.6.1Added new features from Github

23 May 2024

21 May 2024

20 May 2024

13 May 2024

12 May 2024

9 May 2024

30 April 2024

29 April 2024

28 April 2024

5 April 2024

  • 10:3210:32, 5 April 2024 diff hist −52 m IsPlayerAccountNo edit summary current
  • 10:3210:32, 5 April 2024 diff hist +182 m Template:Useful FunctionsAdded IsPlayerAccount to the list
  • 10:3010:30, 5 April 2024 diff hist +1,120 N IsPlayerAccountCreated 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.1Change contributor's name from TracerDS To Tracer

3 April 2024

1 April 2024

28 March 2024

(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)