mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:01:22 +00:00
d80274187c240ed1bb4e8cb74a323a502ddd1e40
The merge argument type computes the length of the preceding arguments plus their separators, then passes that value straight to string.sub. Lua strings are 1-indexed, so the merged text actually starts one character later and the separating space ends up at the front of the value. Tested with a command whose merge argument sits at position 1, 2 and 3: positions 2 and 3 returned " def ghi" and " ccc ddd", now they return "def ghi" and "ccc ddd". Position 1 is unaffected because string.sub clamps index 0 to 1.
ESX Legacy
Discord - Website - Documentation
Want more resources? You can browse the Cfx.re Releases board for more!
ESX is the leading framework, trusted by over 12,000 communities to provide the highest quality roleplay servers on FiveM
💗 Supporters
Interested in helping us? Take a look at our patreon
| We would like to sincerely thank the following donors who helped fund the development of ESX. |
|---|
| Mohamad Buhamad - Michael Hein - RoadToSix - Montree Narathong |
| Saydoon - Muhannad alyamani - iSentrie - Wecity - Samuel Nicol |
| Kyle McShea - Artin - Mathias Christoffersen - Jaylan Yilmaz - Callum |
| CONGRESS KW - Michael Hein - Smery sitbon - daZepelin - CMF Community |
Description
Languages
JavaScript
62.3%
Lua
34.8%
TypeScript
1.2%
HTML
0.8%
CSS
0.7%
Other
0.2%