RedM Natives

GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY

Hash0xFB6EB8785F808551
Runtime nameGetPlayerReceivedBattleEventRecently
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xBC0753C9CA14B506

Signature

BOOL GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY(Player player, int p1, BOOL p2);

Parameters

NameTypeDescription
playerPlayer—
p1int—
p2BOOL—

Returns BOOL

Usage

Lua
local retval = GetPlayerReceivedBattleEventRecently(player, p1, p2)

-- always works, by hash
local retval = Citizen.InvokeNative(0xFB6EB8785F808551, player, p1, p2, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetPlayerReceivedBattleEventRecently(player, p1, p2);

// by hash
const retval = Citizen.invokeNative('0xFB6EB8785F808551', player, p1, p2, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xFB6EB8785F808551, player, p1, p2);

Sources

alloc8or RDR3 NativeDB

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