SA-MP/saco/net/pickuppool.cpp

19 lines
293 B
C++

#include "../main.h"
//----------------------------------------------------
CPickupPool::~CPickupPool()
{
for(int i = 0; i < MAX_PICKUPS; i++)
{
if (m_dwHnd[i] != NULL)
{
ScriptCommand(&destroy_pickup, m_dwHnd[i]);
}
}
}
//----------------------------------------------------