if(PlayerInfo[playerid][pVeh]) // variable where player's vehicle ID is stored DestroyVehicle(PlayerInfo[playerid][pVeh]);