Player::getScriptTaskStatus

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Gets the status of a script-assigned task. The hash does not seem to match the actual native name, but is assigned hardcoded from the executable during task creation.

Statuses are specific to tasks, in addition '7' means the specified task is not assigned to the player.

A few hashes found in the executable (although not a complete list) can be found at pastebin.com/R9iK6M9W as it was too long for this wiki.

Syntax

player.getScriptTaskStatus(taskHash);

Required Arguments

  • taskHash: Model hash or name

Return value

  • int

Example

// todo

See also