The Lab
PLAYER native

BOOST_PLAYER_HORSE_SPEED_FOR_TIME

returns void3 paramsbuild 1207

Boosts the speed of the horse of player by speedBoost for duration.

Signature

C
void BOOST_PLAYER_HORSE_SPEED_FOR_TIME(Player player, float speedBoost, int duration); // 0x09C28F828EE674FA b1207

Parameters

#NameType
1playerPlayer
2speedBoostfloat
3durationint

Facts

Facts about BOOST_PLAYER_HORSE_SPEED_FOR_TIME
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.

Lua
Citizen.InvokeNative(0x09C28F828EE674FA, -- BOOST_PLAYER_HORSE_SPEED_FOR_TIME
  PlayerId(), -- Player player
  0.0, -- float speedBoost
  0 -- int duration
)
JavaScript
// 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
);
C#
Function.Call((Hash)0x09C28F828EE674FA, // BOOST_PLAYER_HORSE_SPEED_FOR_TIME
  API.PlayerId(), // Player player
  0.0f, // float speedBoost
  0 // int duration
);
All PLAYER natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.