GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY
Hash
0xFB6EB8785F808551Runtime name
GetPlayerReceivedBattleEventRecentlyNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xBC0753C9CA14B506Signature
BOOL GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY(Player player, int p1, BOOL p2);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
p1 | int | — |
p2 | BOOL | — |
Returns BOOL
Usage
local retval = GetPlayerReceivedBattleEventRecently(player, p1, p2)
-- always works, by hash
local retval = Citizen.InvokeNative(0xFB6EB8785F808551, player, p1, p2, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetPlayerReceivedBattleEventRecently(player, p1, p2);
// by hash
const retval = Citizen.invokeNative('0xFB6EB8785F808551', player, p1, p2, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xFB6EB8785F808551, player, p1, p2);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.