RedM Natives

DROP_PLAYER

Hash0xBA0613E1
Runtime nameDropPlayer
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void DROP_PLAYER(char* playerSrc, char* reason);

Parameters

NameTypeDescription
playerSrcchar*—
reasonchar*—

Returns void

Usage

Lua
DropPlayer(playerSrc, reason)

-- always works, by hash
Citizen.InvokeNative(0xba0613e1, playerSrc, reason)
JavaScript and C#
JavaScript
DropPlayer(playerSrc, reason);

// by hash
Citizen.invokeNative('0xba0613e1', playerSrc, reason);
C#
Function.Call((Hash)0xba0613e1, playerSrc, reason);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.