Skip to content

Commit

Permalink
Merge pull request #915 from Z3rio/issue-910
Browse files Browse the repository at this point in the history
CreateMissionTrain: Fix `Double metro train` variation
  • Loading branch information
thorium-cfx authored Oct 30, 2023
2 parents 5c82269 + 386f964 commit 4a1da2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions VEHICLE/CreateMissionTrain.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ NativeDB Added Parameter 7: BOOL netMissionEntity
### Some train variations (default from trains.xml as of build 2372)
* 17. Very long train and freight variation.
* 18. Freight train only.
* 25. Double metro train (with both models flipped opposite to each other). This used to be `24` before the 2372 build.
* 26. Double metro train (with both models flipped opposite to each other). This used to be `25` before the 2802 build, it also used to be `24` before the 2372 build.
## Parameters
* **variation**: The variation id, these can range from 0 to 25 as of build 2372.
* **variation**: The variation id, these can range from 0 to 26 as of build 2802 (previously `0-25` in build 2372 and `0-24` before that).
* **x**: Spawn coordinate X component.
* **y**: Spawn coordinate Y component.
* **z**: Spawn coordinate Z component.
Expand Down Expand Up @@ -80,7 +80,7 @@ RegisterCommand("createtrain", function(source, args, rawCommand)
if #args < 1 then
TriggerEvent('chat:addMessage', {
args = {
'Error, provide a variation id, you can find those in trains.xml. Variations range from 0 to 25.'
'Error, provide a variation id, you can find those in trains.xml. Variations range from 0 to 26.'
}
})
return
Expand Down

0 comments on commit 4a1da2a

Please sign in to comment.