DELETE_TRAIN
Deletes the specified `entity` and any carriage its attached to, or that is attached to it.
CFX
Signature
lua
DeleteTrain(entity)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Entity | The carriage to delete. |
Usage
lua
DeleteTrain(entity)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
