mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 12:16:15 +08:00
25 lines
584 B
C++
25 lines
584 B
C++
|
|
#include "../main.h"
|
|
#include "util.h"
|
|
|
|
//-----------------------------------------------------------
|
|
// CONSTRUCTOR
|
|
|
|
CVehicle::CVehicle(int iType, float fPosX, float fPosY,
|
|
float fPosZ, float fRotation, BOOL bKeepModelLoaded,
|
|
int a8)
|
|
{
|
|
// TODO: CVehicle::CVehicle .text:100B88F0
|
|
}
|
|
|
|
//-----------------------------------------------------------
|
|
|
|
void CVehicle::LinkToInterior(int iInterior)
|
|
{
|
|
if(GamePool_Vehicle_GetAt(m_dwGTAId)) {
|
|
ScriptCommand(&link_vehicle_to_interior, m_dwGTAId, iInterior);
|
|
}
|
|
}
|
|
|
|
//-----------------------------------------------------------
|