Difference between revisions of "GET SCRIPT TASK STATUS"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
|r=1 | |r=1 | ||
|rt=Int | |rt=Int | ||
− | |rd=Appears to be int codes of task status, e.g, 0, 1, 7 1 is used 45%, 0 is used 45% and 7 is used 10% | + | |rd=Appears to be int codes of task status, e.g, 0, 1, 7 |
+ | 1 is used 45%, 0 is used 45% and 7 is used 10% | ||
}} | }} | ||
Latest revision as of 23:36, 5 May 2015
Number of parameters: 2 | ||
---|---|---|
Parameter # | Type | Description |
1. | Entity | Entity |
2. | unknown | Likely: The task in question, appears hashed |
Return value: | ||
Type | Description | |
Int | Appears to be int codes of task status, e.g, 0, 1, 7 1 is used 45%, 0 is used 45% and 7 is used 10% |
Presumably gets the status of a task executed by a script.
Example
if (AI::GET_SCRIPT_TASK_STATUS(PLAYER::PLAYER_PED_ID(), 0x7D8F4411) == 1))