Game code
TASK::TASK_KNOCKED_OUT
0xF5B6A5D706FBD80F ·RVA 0x044C7010
Signature
void TASK_KNOCKED_OUT(Ped ped, int p1, BOOL permanently);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | int | p1 |
RDR3 says float, but the game reads it as a 32-bit integer. |
| 2 | BOOL | permanently |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
Call it
// TASK::TASK_KNOCKED_OUT
invoke<Void>(0xF5B6A5D706FBD80F, ped, p1, permanently);// TASK::TASK_KNOCKED_OUT
Function.Call((Hash)0xF5B6A5D706FBD80F, ped, p1, permanently);-- TASK::TASK_KNOCKED_OUT
Citizen.InvokeNative(0xF5B6A5D706FBD80F, ped, p1, permanently)// TASK::TASK_KNOCKED_OUT
Citizen.invokeNative("0xF5B6A5D706FBD80F", ped, p1, permanently);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.