RedM Natives

SET_PLAYER_MAY_NOT_ENTER_ANY_VEHICLE

Hash0xBEC463B3A11C909E
Runtime nameSetPlayerMayNotEnterAnyVehicle
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x1DE37BBF9E9CC14A

Signature

void SET_PLAYER_MAY_NOT_ENTER_ANY_VEHICLE(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns void

Usage

Lua
SetPlayerMayNotEnterAnyVehicle(player)

-- always works, by hash
Citizen.InvokeNative(0xBEC463B3A11C909E, player)
JavaScript and C#
JavaScript
SetPlayerMayNotEnterAnyVehicle(player);

// by hash
Citizen.invokeNative('0xBEC463B3A11C909E', player);
C#
Function.Call((Hash)0xBEC463B3A11C909E, player);

Sources

alloc8or RDR3 NativeDB

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