1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-30 22:17:13 +02:00

Add a method to the vehicle entity class to check if a certain slot has an occupant.

This commit is contained in:
Sandu Liviu Catalin
2018-01-28 22:53:27 +02:00
parent 0bf9afc553
commit 52a06cc83b
2 changed files with 19 additions and 0 deletions

View File

@ -242,6 +242,11 @@ public:
*/
Int32 GetOccupantID(Int32 slot) const;
/* --------------------------------------------------------------------------------------------
* See whether the managed vehicle entity has an occupant in a certain slot.
*/
bool HasOccupant(Int32 slot) const;
/* --------------------------------------------------------------------------------------------
* Respawn the managed vehicle entity.
*/