DispatchSpawn Function

Spawns an entity into the game.

bool DispatchSpawn(int entity)

Parameters

int entity

Entity index of the created entity.

Return Value

True on success, false otherwise.

Errors

Invalid entity index, or no mod support.