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

This commit is contained in:
Nicholas Hastings
2018-01-07 13:56:30 -05:00
parent 847261b6c9
commit 083ab81035
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.
*