After seeing the crash command and how it always hangs your game which you need to use task manager to quit (At least I do)
Behold, ForceQuit!
This will simply close the game of the user you want effectively and wont leave it hanging!
Commands: /forcequit all - Quits everyone from the server immediately (Including you) useful for clearing up /forcequit [ID] Forcequits the specified users id.
Update! Added a whitelist in server.lua along with 2 new commands!: /forcesplit [all/id] Splits them into a weird singleplayer sort of session /forceload [all/id] Sticks a user into an infinite loading screen
Does it confict with original GTA? I mean if I understand your Code right you force a Socialclub update so whats with bans from Rockstars or something like that? is it safe?
Ive had many people test and had absolutely no side effects, so as far as i know, it should be safe, i mean, your social club should be up to date anyway if youre playing fivem.
Just Updated! Added a command whitelist in server.lua instead, as well as two new commands!: /forcesplit [all/id] Splits them into a weird singleplayer sort of session /forceload [all/id] Sticks a user into an infinite loading screen
I am currently having an issue with adding admins to be able to use the command. I inputted the steam 64 converted to hex as both of these and still do not have permission to use the command any idea why?
It isn’t that simple, as there isn’t a native that actually just force quits the game “cleanly”, besides using the ForceUpdate method, which exists the game (without being able to cancel it) but not instantly.