GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY
Returns true if player recently received a combat-related event.
Signature
BOOL GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY(Player player, int p1, BOOL p2); // 0xFB6EB8785F808551 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | p1 | int |
| 3 | p2 | BOOL |
Facts
| Name | GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY |
|---|---|
| Hash | 0xFB6EB8785F808551 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xFB6EB8785F808551, -- GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY
PlayerId(), -- Player player
0, -- int p1
false -- BOOL p2
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xFB6EB8785F808551", // GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY
PlayerId(), // Player player
0, // int p1
false, // BOOL p2
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xFB6EB8785F808551, // GET_PLAYER_RECEIVED_BATTLE_EVENT_RECENTLY
API.PlayerId(), // Player player
0, // int p1
false // BOOL p2
);Related PLAYER natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.