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:
@ -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