Recent changes
Jump to navigation
Jump to search
Track the most recent changes to the wiki on this page.
List of abbreviations:
- N
- This edit created a new page (also see list of new pages)
- m
- This is a minor edit
- b
- This edit was performed by a bot
- (±123)
- The page size changed by this number of bytes
26 May 2024
N 12:12 | PathIsDirectory diffhist +1,630 Tracer talk contribs (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==...") |
N 12:10 | String.repeat diffhist +943 Tracer talk contribs (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)...") |
|
12:02 | Template:Useful Functions 3 changes history +410 [Tracer (3×)] | |||
|
12:02 (cur | prev) +116 Tracer talk contribs (Added new function: `string.repeat`) | ||||
|
11:22 (cur | prev) +137 Tracer talk contribs (Added `string.startsWith`) | ||||
|
10:42 (cur | prev) +157 Tracer talk contribs (Added String functions) |
N 11:32 | PathIsFile diffhist +861 Tracer talk contribs (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...") |
N 11:25 | String.startsWith diffhist +842 Tracer talk contribs (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...") |
N 11:20 | PathListDir diffhist +1,631 Tracer talk contribs (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...") |
N 10:48 | String.endsWith diffhist +871 Tracer talk contribs (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)...") |
N 10:33 | Template:Shared path functions diffhist +182 Tracer talk contribs (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:32 | Shared Scripting Functions diffhist +46 Tracer talk contribs (Added path functions) |
N 10:30 | GetAccountType diffhist +1,199 Tracer talk contribs (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:07 | Template:Account functions diffhist +63 Tracer talk contribs (Added new function: `getAccountType`) |
10:06 | Template:Account events diffhist +93 Tracer talk contribs (Added new events: `onAccountCreate`, `onAccountRemove`) |
N 10:02 | OnAccountRemove diffhist +833 Tracer talk contribs (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...") |
N 10:01 | OnAccountCreate diffhist +811 Tracer talk contribs (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:49 | Changes in 1.6.1 diffhist 0 Tracer talk contribs |
25 May 2024
17:05 | User creation log User account Felix5k talk contribs was created |
|
N 15:11 | RestoreAllGameBuildings 2 changes history +410 [TheNormalnij (2×)] | |||
|
15:11 (cur | prev) −1 TheNormalnij talk contribs | ||||
N |
|
15:10 (cur | prev) +411 TheNormalnij talk contribs (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function cancels RemoveAllGameBuildings efffect}} {{Note|This function can destroy some scripted buildings if the building pool does not have enough free space for game buildings.}} ==Syntax== <syntaxhighlight lang="lua">nil restoreAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}") |
|
N 15:05 | RemoveAllGameBuildings 2 changes history +393 [TheNormalnij (2×)] | |||
|
15:05 (cur | prev) +94 TheNormalnij talk contribs (Add note) | ||||
N |
|
14:59 (cur | prev) +299 TheNormalnij talk contribs (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22420|This function is used to remove all world buildings and frees building pool.}} ==Syntax== <syntaxhighlight lang="lua">nil removeAllGameBuildings ( )</syntaxhighlight> ===Returns=== Nothing ==See Also== {{Building functions}}") |
24 May 2024
|
20:19 | Script security 3 changes history −2,938 [Srslyyyy (3×)] | |||
|
20:19 (cur | prev) −3,158 Srslyyyy talk contribs (Replace handling non-registered events with native event onPlayerTriggerInvalidEvent) | ||||
|
15:41 (cur | prev) +4 Srslyyyy talk contribs (→Detecting and dealing with backdoors and cheats) | ||||
|
14:32 (cur | prev) +216 Srslyyyy talk contribs (Add information about keeping server up-to-date.) |
|
20:17 | Template:Player events 2 changes history +159 [Srslyyyy; Megadreams] | |||
|
20:17 (cur | prev) +84 Srslyyyy talk contribs (Add onPlayerTriggerInvalidEvent by lopsi (https://github.com/multitheftauto/mtasa-blue/pull/3400)) | ||||
|
13:57 (cur | prev) +75 Megadreams talk contribs (Add onPlayerTeamChange) |
N 20:02 | OnPlayerTriggerInvalidEvent diffhist +3,460 Srslyyyy talk contribs (Add onPlayerTriggerInvalidEvent by lopsi (https://github.com/multitheftauto/mtasa-blue/pull/3400)) |
18:24 | SetWorldSpecialPropertyEnabled diffhist −6 Srslyyyy talk contribs (→Example) |
|
14:02 | Server mtaserver.conf 2 changes history +522 [Megadreams (2×)] | |||
|
14:02 (cur | prev) +43 Megadreams talk contribs (Added version notice) | ||||
|
01:13 (cur | prev) +479 Megadreams talk contribs (Add new vehicle_contact_sync_radius setting) |
|
14:00 | SetServerConfigSetting 2 changes history +72 [Megadreams (2×)] | |||
|
14:00 (cur | prev) +41 Megadreams talk contribs (Added version notice) | ||||
|
01:08 (cur | prev) +31 Megadreams talk contribs (Add new vehicle_contact_sync_radius setting) |
N 06:10 | OnPlayerTeamChange diffhist +1,281 Esmail9900 talk contribs (→Player events) |
23 May 2024
N 18:29 | OnResourceStateChange diffhist +1,362 Tracer talk contribs (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...") |
22 May 2024
18:40 | RU/Where to buy GTASA diffhist +186 Flox talk contribs |
|
17:00 | Script security 2 changes history +3,232 [Srslyyyy (2×)] | |||
|
17:00 (cur | prev) +1 Srslyyyy talk contribs (→Handling non-registered events) | ||||
|
16:58 (cur | prev) +3,231 Srslyyyy talk contribs (Add code for catching non-registered event calls (thanks to lopsi)) |
21 May 2024
17:28 | DgsGridListSetSelectedItem diffhist +4 Alex7202 talk contribs |
|
15:54 | OOP 3 changes history +59 [Flox (3×)] | |||
|
15:54 (cur | prev) 0 Flox talk contribs | ||||
|
15:54 (cur | prev) −8 Flox talk contribs | ||||
|
15:54 (cur | prev) +67 Flox talk contribs |
|
N 15:50 | Ru/OOP 5 changes history +3,456 [Flox (5×)] | |||
|
15:50 (cur | prev) −17 Flox talk contribs Tag: Manual revert | ||||
|
15:50 (cur | prev) −44 Flox talk contribs | ||||
|
15:49 (cur | prev) +61 Flox talk contribs | ||||
|
15:46 (cur | prev) +9 Flox talk contribs (→Предоставлены страницы с полезными ссылками на английском языке.) | ||||
N |
|
15:45 (cur | prev) +3,447 Flox talk contribs (Created page with "Объектно-ориентированное программирование было введено в MTA:SA 1.4 и поставляется со специальными служебными классами, такими как Vector и Matrix. Эта страница содержит общую информацию о функциях OOP и содержит полезные ссылки. == Включение == По умолчанию ООП откл...") |
|
15:47 | RU/Meta.xml 2 changes history +639 [Flox (2×)] | |||
|
15:47 (cur | prev) +125 Flox talk contribs (→Тэги) | ||||
|
15:36 (cur | prev) +514 Flox talk contribs (→Пример) |
15:27 | RU/Where to buy GTASA diffhist +160 Flox talk contribs |