Game codeUnofficial name
TASK::_TASK_KNOCKED_OUT_SET_DURATION
0x1E908484004ADF5C ·RVA 0x044C6FB0
Signature
void _TASK_KNOCKED_OUT_SET_DURATION(Ped ped, int koTimeDuration);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | int | koTimeDuration |
RDR3 says float, but the game reads it as a 32-bit integer. |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
Call it
// TASK::_TASK_KNOCKED_OUT_SET_DURATION
invoke<Void>(0x1E908484004ADF5C, ped, koTimeDuration);// TASK::_TASK_KNOCKED_OUT_SET_DURATION
Function.Call((Hash)0x1E908484004ADF5C, ped, koTimeDuration);-- TASK::_TASK_KNOCKED_OUT_SET_DURATION
Citizen.InvokeNative(0x1E908484004ADF5C, ped, koTimeDuration)// TASK::_TASK_KNOCKED_OUT_SET_DURATION
Citizen.invokeNative("0x1E908484004ADF5C", ped, koTimeDuration);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.