30.05.2014, 19:28
Here:
pawn Код:
//above main()
new SpawnedCar[MAX_PLAYERS];
//in your spawn command:
SpawnedCar[playerid] = CreateVehicle(...);
//in OnVehicleSpawn or OnVehicleDeath
if(vehicleid == SpawnedCar[playerid])
{
DestroyVehicle(SpawnedCar[playerid]);
}