Files
GTASource/game/control/remote.h
expvintl 419f2e4752 init
2025-02-23 17:40:52 +08:00

37 lines
944 B
C++

/////////////////////////////////////////////////////////////////////////////////
//
// FILE : remote.h
// PURPOSE : Deals with remote controlled cars.
// AUTHOR : Obbe.
// CREATED : 22/11/00
//
/////////////////////////////////////////////////////////////////////////////////
#ifndef _REMOTE_H_
#define _REMOTE_H_
#include "game/modelIndices.h"
#include "vehicles/automobile.h"
#include "vehicles/vehicle.h"
/////////////////////////////////////////////////////////////////////////////////
// A class to contain the functions.
/////////////////////////////////////////////////////////////////////////////////
class CRemote
{
public:
static void GivePlayerRemoteControlledCar(float CoorsX, float CoorsY, float CoorsZ, float Orientation, s32 nModelIndex=-1); //MODELID_CAR_REMOTE);
static void TakeRemoteControlledCarFromPlayer(bool bCreateExplosion = true);
static void TakeRemoteControlOfCar(CVehicle *pVehicle);
};
#endif