netGameserverDeleteCharacter
NET_GAMESERVER_DELETE_CHARACTER0x51F1A8E48C3D2F6DThe GTA V native NET_GAMESERVER_DELETE_CHARACTER of the NETSHOPPING namespace, as LS:MP client scripts call it: the global function netGameserverDeleteCharacter, in JavaScript and in Lua.
netGameserverDeleteCharacter(
slot: number,
transfer: boolean,
reason: Hash
): booleannetGameserverDeleteCharacter(
slot: integer,
transfer: boolean,
reason: Hash
): boolean✕
Blocked for scripts: Rockstar accounts and commerce
Resources do not touch Rockstar accounts, Social Club data, GTA$ or the game's online shops. Keep your own economy and profiles on your server, with storage.
Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.
Reference
- Namespace
- Net shopping NETSHOPPING
- In the game
BOOL NET_GAMESERVER_DELETE_CHARACTER(int slot, BOOL transfer, Hash reason)- Hash
0x51F1A8E48C3D2F6D- Formerly
_NET_GAMESERVER_DELETE_CHARACTER_SLOT