BOOST_PLAYER_HORSE_SPEED_FOR_TIME
Boosts the speed of the horse of player by speedBoost for duration.
Signature
void BOOST_PLAYER_HORSE_SPEED_FOR_TIME(Player player, float speedBoost, int duration); // 0x09C28F828EE674FA b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | speedBoost | float |
| 3 | duration | int |
Facts
| Name | BOOST_PLAYER_HORSE_SPEED_FOR_TIME |
|---|---|
| Hash | 0x09C28F828EE674FA |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x09C28F828EE674FA, -- BOOST_PLAYER_HORSE_SPEED_FOR_TIME
PlayerId(), -- Player player
0.0, -- float speedBoost
0 -- int duration
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x09C28F828EE674FA", // BOOST_PLAYER_HORSE_SPEED_FOR_TIME
PlayerId(), // Player player
0.0, // float speedBoost
0 // int duration
);Function.Call((Hash)0x09C28F828EE674FA, // BOOST_PLAYER_HORSE_SPEED_FOR_TIME
API.PlayerId(), // Player player
0.0f, // float speedBoost
0 // int duration
);Related PLAYER natives
- _GET_ACTIVE_HORSE_FOR_PLAYER
- _GET_SADDLE_HORSE_FOR_PLAYER
- _SET_PED_AS_SADDLE_HORSE_FOR_PLAYER
- _CLEAR_PED_EAGLE_EYE_TRAILS_FOR_PLAYER
- _GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED
- _GET_TEMP_PLAYER_HORSE
- _IS_PLAYER_LOCKED_ON_ENTITY_ON_HORSE
- _MODIFY_PLAYER_UI_PROMPT_FOR_PED
- _SET_PED_ACTIVE_PLAYER_HORSE
- _SET_PLAYER_HEALTH_RECHARGE_TIME_MODIFIER
- _SET_PLAYER_MAX_AMMO_OVERRIDE_FOR_AMMO_TYPE
- GET_TARGET_CHARACTER_NAME_FOR_LOCAL_PLAYER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.