From the reference libraryRedM

autodoc_server_functions

jo_libs/modules/entity/autodoc/autodoc_server_functions.md

autodoc_server_functions

JO Functions > jo.entity.delete() > Syntax

jo.entity.delete(entity)

JO Functions > jo.entity.delete() > Parameters

entity : integer

The entity ID to delete

JO Functions > jo.entity.delete() > Example

local entity = 23494
jo.entity.delete(entity)

Back to documentation