sed -i -r 's#(ipAddress = null)#\1, string $userAgent#; /->ipAddress/a\\t\t\t\t$this->userAgent = $userAgent;' \ vendor/flarum/core/src/Post/Command/PostReply.php sed -i -r 's#(ipAddress)$#\1,#; /ipAddress/a\\t\t\t\t\t\t$command->userAgent' \ vendor/flarum/core...
-- execute the command after a while, get all non banned users local rows, affected = vRP.query("vRP/myrsc_getbans", {banned = false}) -- in async context -- rows: rows as a list -- affected: number of rows affected (when updating things, etc) ...
@@ -90,7 +90,7 @@ RegisterCommand("car", new Action<int, List<object>, string>((source, args, raw) ``` To start, we see a call to a function. We did not define that function. Well, _we_ (as in, the FiveM team) did, but not when guiding you, the reader, through this ...
the command, a really useful thing to have), and a List of `args` which are basically what you enter after the command like `/car zentorno` making `args` end up being `new List<object>{ "zentorno" }` or `/car zentorno unused` being `new List<object>{ "zentorno", "unused" }`....