{"hash":"0xE631EAF35828FA67","ns":"PLAYER","name":"_GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD","slug":"_GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD","official":false,"named":true,"luaName":"GetPlayerMountIsSprintingOnRoad","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"player","type":"Player"}],"summary":"Checks if the player is sprinting on a road while riding a horse.","descriptions":[{"source":"alloc8or","format":"text","body":"Checks if the player is sprinting on a road while riding a horse.\nThis function only checks sprinting status when the player is on a road.\n\nVideo: https://youtu.be/cGyh0AXPu1E"},{"source":"vorp","format":"text","body":"returns true if the player is on a road while riding a horse but at a certain speed, if you go off road then it returns false or if you go too slow like walking state it also returns false"}],"examples":[],"aliases":["_IS_PLAYER_MOUNT_ON_ROAD"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/_GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/_GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD.md","snippets":{"lua":"local retval = GetPlayerMountIsSprintingOnRoad(player)","luaInvoke":"local retval = Citizen.InvokeNative(0xE631EAF35828FA67, player, Citizen.ReturnResultAnyway())","js":"const retval = GetPlayerMountIsSprintingOnRoad(player);","jsInvoke":"const retval = Citizen.invokeNative('0xE631EAF35828FA67', player, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xE631EAF35828FA67, player);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}