SET_HORSE_AVOIDANCE_LEVEL
-1 - HORSE_ASSIST__NO_CHANGE 0 - HORSE_ASSIST__MANUAL 1 - HORSE_ASSIST__SEMIASSIST 2 - HORSE_ASSIST__FULLASSIST
Hash
0xDDCF6FEA5D7ACC17Runtime name
SetHorseAvoidanceLevelNamespacePED
SideClient
NameOfficial
Docs
Since build1207
Signature
void SET_HORSE_AVOIDANCE_LEVEL(Ped horse, int avoidanceLevel);Parameters
| Name | Type | Description |
|---|---|---|
horse | Ped | — |
avoidanceLevel | int | — |
Returns void
Description
-1 - HORSE_ASSIST__NO_CHANGE
0 - HORSE_ASSIST__MANUAL
1 - HORSE_ASSIST__SEMIASSIST
2 - HORSE_ASSIST__FULLASSIST
Usage
SetHorseAvoidanceLevel(horse, avoidanceLevel)
-- always works, by hash
Citizen.InvokeNative(0xDDCF6FEA5D7ACC17, horse, avoidanceLevel)JavaScript and C#
SetHorseAvoidanceLevel(horse, avoidanceLevel);
// by hash
Citizen.invokeNative('0xDDCF6FEA5D7ACC17', horse, avoidanceLevel);Function.Call((Hash)0xDDCF6FEA5D7ACC17, horse, avoidanceLevel);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.