mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-05 13:17:11 +02:00
Add a method to the vehicle entity class to check if a certain slot has an occupant.
This commit is contained in:
1 parent
0bf9afc553
commit
52a06cc83b
2 files changed
+19
No files matched your search
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user