User contributions for O22
Jump to navigation
Jump to search
8 December 2025
- 13:0013:00, 8 December 2025 diff hist 0 IsPostFXEnabled No edit summary current
3 December 2025
- 17:3317:33, 3 December 2025 diff hist +190 Changes in 1.7 No edit summary current
- 11:1211:12, 3 December 2025 diff hist +40 Template:Client PostFX functions No edit summary current
- 11:0911:09, 3 December 2025 diff hist +50 Client Scripting Functions No edit summary current
- 11:0811:08, 3 December 2025 diff hist +878 N IsPostFXEnabled Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6|23644 | Checks whether a specific PostFX effect is currently enabled. }} ==Syntax== <syntaxhighlight lang="lua"> bool IsPostFXEnabled ( string fxType ) </syntaxhighlight> ===Required arguments=== *'''fxType''': An string of the PostFX. Possible values are: **'''Gamma''' **'''Brightness''' **'''Contrast''' **'''Saturation''' ===Returns=== Returns '''true''' if the selected type is enabled, otherwise '''false..."
- 11:0611:06, 3 December 2025 diff hist +835 N GetPostFXValue Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6|23644| Gets the current float value of the selected PostFX type. }} ==Syntax== <syntaxhighlight lang="lua"> float getPostFXValue ( string fxType ) </syntaxhighlight> ===Required arguments=== *'''fxType''': An string of the PostFX. Possible values are: **'''Gamma''' **'''Brightness''' **'''Contrast''' **'''Saturation''' ===Returns=== Returns the current value of the specified PostFX parameter. ==Example== T..." current
- 11:0511:05, 3 December 2025 diff hist +813 N GetPostFXMode Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6|23644| Gets the current mode of PostFX. }} ==Syntax== <syntaxhighlight lang="lua"> int getPostFXMode ( ) </syntaxhighlight> ===Returns=== An integer for the current PostFX mode: * 0: Disabled * 1: Enabled in fullscreen mode * 2: Enabled in windowed/borderless mode ==Example== This example gets the current PostFX mode and displays it in the chat. <syntaxhighlight lang="lua"> local modes = { [0] = "Disabl..." current
2 December 2025
- 21:4721:47, 2 December 2025 diff hist +94 N Template:Client PostFX functions Created page with "<ul> <li>getPostFXValue</li> <li>getPostFXMode</li> <li>isPostFXEnabled</li> </ul>"
1 December 2025
- 19:0619:06, 1 December 2025 diff hist +189 Template:Useful Functions No edit summary current
- 19:0419:04, 1 December 2025 diff hist +29,360 N IsPlayerNameRandomized Created page with "{{Useful Function}} __NOTOC__ Checks whether the given player name looks like an automatically-generated random nickname. ==Syntax== <syntaxhighlight lang="lua">bool isPlayerNameRandomized ( string name )</syntaxhighlight> ===Required Arguments=== * '''name''': The player name to check. ===Returns=== Returns '''true''' if the given name is an auto-generated random nickname, or '''false''' otherwise. ==Code== <section name="Shared" class="both" show="true"> <syntaxhig..." current
1 November 2025
- 20:3720:37, 1 November 2025 diff hist −104 DecodeString Callback is Optional argument not required current
31 October 2025
- 15:0715:07, 31 October 2025 diff hist −154 SetElementData Issue has been closed current Tag: Manual revert
- 09:5809:58, 31 October 2025 diff hist +543 Changes in 1.7 →77 Changes and Bug Fixes
1 October 2025
- 18:3718:37, 1 October 2025 diff hist +781 Changes in 1.7 No edit summary
28 September 2025
- 19:0119:01, 28 September 2025 diff hist −110 GuiCreateScrollBar No edit summary current
17 September 2025
- 10:4710:47, 17 September 2025 diff hist +159 Changes in 1.7 No edit summary
- 02:0502:05, 17 September 2025 diff hist +164 Changes in 1.7 No edit summary
16 September 2025
- 00:0200:02, 16 September 2025 diff hist +170 Changes in 1.7 No edit summary
10 September 2025
- 22:0222:02, 10 September 2025 diff hist +20 AR/Resource:DGS No edit summary current
9 September 2025
- 19:3819:38, 9 September 2025 diff hist +198 Changes in 1.7 No edit summary
8 September 2025
- 17:4817:48, 8 September 2025 diff hist +204 Changes in 1.7 No edit summary
3 September 2025
- 00:3900:39, 3 September 2025 diff hist +122 Template:Useful Functions →Data functions
- 00:3100:31, 3 September 2025 diff hist +47 GetServerAveragePing No edit summary current
- 00:3100:31, 3 September 2025 diff hist +1,093 N GetServerAveragePing Created page with "{{Useful Function}} __NOTOC__ This function gets average players ping. ==Syntax== <syntaxhighlight lang="lua">int getAveragePing( )</syntaxhighlight> ===Returns=== Returns the average players ping as integer. <br> Returns '''0''' if no players are online. ==Code== <section name="Shared" class="both" show="true"> <syntaxhighlight lang="lua"> function getAveragePing() local players = getElementsByType("player") if #players == 0 then return 0 end..."
2 September 2025
- 14:4614:46, 2 September 2025 diff hist +475 User:O22 No edit summary current
26 August 2025
- 22:1822:18, 26 August 2025 diff hist +368 Changes in 1.7 No edit summary
6 August 2025
- 01:4001:40, 6 August 2025 diff hist +8 AR/setDiscordRichPresenceSmallAsset →Syntax current
- 01:3901:39, 6 August 2025 diff hist +1,756 N AR/getDiscordRichPresenceUserID Created page with "__NOTOC__ {{Client function}} {{Important Note|ستُعيد الدالة معرف المستخدم بشكل صحيح إذا كان المستخدم قد منح الموافقة مسبقًا ومتصل بتطبيق Rich Presence.}} {{New feature/item|3.0161|1.6.0|22342| تُعيد الدالة معرف مستخدم Discord الخاص بالعميل. }} ==التركيب== <syntaxhighlight lang="lua"> string getDiscordRichPresenceUserID() </syntaxhighlight> ===الق..." current
- 01:3301:33, 6 August 2025 diff hist +1,706 N AR/setDiscordRichPresenceEndTime Created page with "__NOTOC__ {{Client function}} {{Important Note|لاستخدام هذه الدالة، يجب عليك إعداد تطبيقك الخاص باستخدام setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22276| تقوم هذه الدالة بتعيين الوقت المتبقي في Discord Rich Presence. }} ==التركيب== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceEndTime(int seconds) </syntaxhighlight> {{OOP||..." current
- 01:3001:30, 6 August 2025 diff hist +1,528 N AR/setDiscordRichPresenceStartTime Created page with "__NOTOC__ {{Client function}} {{Important Note|لاستخدام هذه الدالة، يجب عليك إعداد تطبيقك الخاص باستخدام setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22276| تقوم هذه الدالة بتعيين الوقت المنقضي في Discord Rich Presence. }} ==التركيب== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceStartTime(int seconds) </syntaxhighlight> {{OOP..." current
- 01:2701:27, 6 August 2025 diff hist +1,804 N AR/setDiscordRichPresencePartySize Created page with "__NOTOC__ {{Client function}} {{Important Note|لاستخدام هذه الدالة، يجب عليك إعداد تطبيقك الخاص باستخدام setDiscordApplicationID}} {{Note|لكي يتم عرض حجم المجموعة، يجب تعيين الحالة باستخدام setDiscordRichPresenceState}} {{New feature/item|3.0161|1.6.0|22276| تقوم هذه الدالة بتعيين حجم المج..." current
- 00:1400:14, 6 August 2025 diff hist +1,372 N AR/setDiscordRichPresenceState Created page with "__NOTOC__ {{Client function}} {{Important Note|لاستخدام هذه الدالة، يجب عليك إعداد تطبيقك الخاص باستخدام setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22270| تقوم هذه الدالة بتعيين الحالة لتطبيق Discord Rich Presence. }} ==التركيب== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceState(string state) </syntaxhighlight> {{OOP||Disc..." current
- 00:1100:11, 6 August 2025 diff hist +1,820 N AR/setDiscordRichPresenceSmallAsset Created page with "__NOTOC__ {{Client function}} {{Important Note|لاستخدام هذه الدالة، يجب عليك إعداد تطبيقك الخاص باستخدام setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22270| باستخدام هذه الدالة، يمكنك تعيين صورة الأصل الصغيرة (small asset) للتطبيق. الحد الأقصى لحجم الصور هو ''1024 x1024''، والحد الأدنى هو ''512..."
- 00:0400:04, 6 August 2025 diff hist +9 AR/isDiscordRichPresenceConnected No edit summary current
- 00:0400:04, 6 August 2025 diff hist +19 AR/resetDiscordRichPresenceData →Syntax current
- 00:0100:01, 6 August 2025 diff hist +1,508 N AR/setDiscordRichPresenceDetails Created page with "__NOTOC__ {{Client function}} {{Important Note|لاستخدام هذه الدالة، يجب عليك إعداد تطبيقك الخاص باستخدام setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22270| تقوم هذه الدالة بتعيين نص التفاصيل في Discord Rich Presence. }} ==التركيب== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceDetails(string details) </syntaxhighlight> {{OOP||[..." current
5 August 2025
- 23:5523:55, 5 August 2025 diff hist +1,828 N AR/setDiscordRichPresenceButton Created page with "__NOTOC__ {{Client function}} {{Important Note|لاستخدام هذه الدالة، يجب عليك إعداد تطبيقك الخاص باستخدام setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22270| تقوم هذه الدالة بتعيين زر مخصص يمكن من خلاله الوصول إلى موقع ويب على Discord. }} ==التركيب== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceButton(int..." current
- 23:5023:50, 5 August 2025 diff hist +1,789 N AR/setDiscordRichPresenceAsset Created page with "__NOTOC__ {{Client function}} {{Important Note|لاستخدام هذه الدالة، يجب عليك إعداد تطبيقك الخاص باستخدام setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22270| باستخدام هذه الدالة يمكنك تعيين صورة الأصل الكبيرة (large image asset) للتطبيق. الحد الأقصى لحجم الصور هو ''1024 x1024''، والحد الأدنى هو..." current
- 23:4423:44, 5 August 2025 diff hist +1,813 N AR/setDiscordApplicationID Created page with "__NOTOC__ {{Client function}} {{Important Note|لإعادة ضبط معرف التطبيق، يرجى استخدام resetDiscordRichPresenceData}} {{Important Note|لكي تعمل الدالة بشكل صحيح، يجب أن يكون لدى المستخدم إعداد الخصوصية/الحالة مفعل في Discord.}} {{New feature/item|3.0161|1.6.0|22270| تتيح هذه الدالة تعيين تطبيقك الخاص للاست..." current
- 23:0523:05, 5 August 2025 diff hist +1,245 N AR/resetDiscordRichPresenceData Fixed naming inconsistency: renamed pages to start with lowercase letters for consistency. Corrected accidental use of uppercase initials.
- 23:0523:05, 5 August 2025 diff hist −1,200 AR/ResetDiscordRichPresenceData Fixed naming inconsistency: renamed pages to start with lowercase letters for consistency. Corrected accidental use of uppercase initials. current Tag: New redirect
- 23:0323:03, 5 August 2025 diff hist −1,170 AR/IsDiscordRichPresenceConnected Fixed naming inconsistency: renamed pages to start with lowercase letters for consistency. Corrected accidental use of uppercase initials. current Tag: New redirect
- 23:0223:02, 5 August 2025 diff hist +1,217 N AR/isDiscordRichPresenceConnected Fixed naming inconsistency: renamed pages to start with lowercase letters for consistency. Corrected accidental use of uppercase initials.
- 23:0123:01, 5 August 2025 diff hist 0 Template:AR/Client Discord functions Fixed naming inconsistency: renamed pages to start with lowercase letters for consistency. Corrected accidental use of uppercase initials. current Tag: Manual revert
- 22:5722:57, 5 August 2025 diff hist 0 ResetDiscordRichPresenceData No edit summary current Tag: Manual revert
- 22:5722:57, 5 August 2025 diff hist 0 IsDiscordRichPresenceConnected No edit summary current Tag: Manual revert
- 22:4122:41, 5 August 2025 diff hist 0 AR/IsDiscordRichPresenceConnected No edit summary
- 22:4122:41, 5 August 2025 diff hist 0 AR/ResetDiscordRichPresenceData No edit summary
- 22:4022:40, 5 August 2025 diff hist 0 ResetDiscordRichPresenceData No edit summary
- 22:3922:39, 5 August 2025 diff hist +1,245 N AR/ResetDiscordRichPresenceData Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22270| تعيد هذه الوظيفة إعدادات Discord Rich Presence إلى الوضع الافتراضي. }} ==Syntax== <syntaxhighlight lang="lua"> bool resetDiscordRichPresenceData() </syntaxhighlight> ===التركيب=== ترجع الدالة ''true'' إذا نجحت العملية، و ''false'' إذا فشلت. ==مثال== يعرض هذا المثال كيفية إعادة ضبط Discord Ri..."