RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _SET_TRAIN_MAX_SPEED

_SET_TRAIN_MAX_SPEED

Maximum possible speed is 30.0 (108 km/h)

VEHICLEBuild 1207

Signature

lua
SetTrainMaxSpeed(GetVehiclePedIsIn(PlayerPedId(), false), 0.0)
-- returns void

Parameters

NameTypeDescription
Vehicle—
float—

Usage

lua
SetTrainMaxSpeed(GetVehiclePedIsIn(PlayerPedId(), false), 0.0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details