RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _IS_SPAWN_POSITION_VALID_FOR_TRAIN

_IS_SPAWN_POSITION_VALID_FOR_TRAIN

Return true if the specified train can be spawned at the location (automatically snap to the nearest track from coords) with the direction.

VEHICLEBuild 1207

Signature

lua
IsSpawnPositionValidForTrain(GetHashKey("..."), 0.0, 0.0, 0.0, true, true)
-- returns BOOL

Parameters

NameTypeDescription
Hash—
float—
float—
float—
BOOL—
BOOL—

Usage

lua
IsSpawnPositionValidForTrain(GetHashKey("..."), 0.0, 0.0, 0.0, true, true)

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