Add RemoveEntity native. (bug 5714) (#745)

This commit is contained in:
Nicholas Hastings
2018-01-07 13:52:36 -05:00
committed by GitHub
parent 5a35760215
commit 9374620b8b
2 changed files with 60 additions and 0 deletions
+8
View File
@@ -142,6 +142,14 @@ native int CreateEdict();
*/
native void RemoveEdict(int edict);
/**
* Marks an entity for deletion.
*
* @param entity Index of the entity.
* @error Invalid entity index.
*/
native void RemoveEntity(int entity);
/**
* Returns the flags on an edict. These are not the same as entity flags.
*