DELETE_ENTITY
Deletes the specified entity. **NOTE**: For trains this will only work if called on the train engine, it will not work on its carriages.
CFX
Signature
lua
DeleteEntity(entity)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Entity | The entity to delete. |
Usage
lua
DeleteEntity(entity)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
