SA-MP/server/vehiclepool.cpp

28 lines
530 B
C++
Raw Normal View History

#include "main.h"
CVehiclePool::CVehiclePool()
{
for(VEHICLEID VehicleID = 0; VehicleID != MAX_VEHICLES; VehicleID++) {
field_2014[VehicleID] = 0;
field_3F54[VehicleID] = 0;
field_D4[VehicleID] = 0;
}
memset(field_0,0,sizeof(field_0));
field_5E94 = 0;
}
CVehiclePool::~CVehiclePool()
{
for(VEHICLEID VehicleID = 0; VehicleID != MAX_VEHICLES; VehicleID++) {
Delete(VehicleID);
}
}
BOOL CVehiclePool::Delete(VEHICLEID VehicleID)
{
// TODO: CVehiclePool::Delete W .text:00467700 L .text:0814CC10
return FALSE;
}