GET SCRIPT TASK STATUS

From GTAMods Wiki
Jump to navigation Jump to search
GET_SCRIPT_TASK_STATUS
Number of parameters: 2
Parameter #TypeDescription
1.EntityEntity
2.unknownLikely: The task in question, appears hashed
Return value:
TypeDescription
Int1 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))