TASK_GO_TO_WHISTLE
WHISTLE_MAIN, WHISTLE_SECONDARY, WHISTLE_DOUBLE, WHISTLE_URGENT, WHISTLE_LONG
Hash
0xBAD6545608CECA6ERuntime name
TaskGoToWhistleNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
Signature
void TASK_GO_TO_WHISTLE(Ped ped, Ped p1, int whistleType);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | Ped | — |
whistleType | int | — |
Returns void
Description
enum eWhistleType
{
WHISTLE_MAIN,
WHISTLE_SECONDARY,
WHISTLE_DOUBLE,
WHISTLE_URGENT,
WHISTLE_LONG
};Usage
TaskGoToWhistle(ped, p1, whistleType)
-- always works, by hash
Citizen.InvokeNative(0xBAD6545608CECA6E, ped, p1, whistleType)JavaScript and C#
TaskGoToWhistle(ped, p1, whistleType);
// by hash
Citizen.invokeNative('0xBAD6545608CECA6E', ped, p1, whistleType);Function.Call((Hash)0xBAD6545608CECA6E, ped, p1, whistleType);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.