Interface IPlayerVehicleData.IManagedInterface
Represents the managed interface implemented by its unmanaged counterpart.
public interface IPlayerVehicleData.IManagedInterface : IUnmanagedInterface
- Inherited Members
Methods
GetSeat()
Gets the seat the player is currently occupying in a vehicle.
int GetSeat()
Returns
- int
The seat index, or -1 if the player is not in a vehicle.
GetVehicle()
Gets the vehicle the player is currently in.
IVehicle GetVehicle()
Returns
- IVehicle
The vehicle the player is in, or null if not in a vehicle.
IsCuffed()
Checks if the player is cuffed.
bool IsCuffed()
Returns
IsInDriveByMode()
Checks if the player is in drive-by mode.
bool IsInDriveByMode()
Returns
IsInModShop()
Checks if the player is in a mod shop.
bool IsInModShop()
Returns
ResetVehicle()
Resets the player's vehicle data internally.
void ResetVehicle()
Remarks
This is an internal method and should not be called in typical scenarios. It is not intended for vehicle destruction or removing players from vehicles.