31.10.2015, 05:17
pawn Код:
Delete3DTextLabel(vehicle_label[User[playerid][ownedvehicle_id]]);
Here you can do that by checking for vehicle instead (in your command: spawnvehicle)
pawn Код:
if (IsValidVehicle(User[playerid][ownedvehicle_id]))
{
Delete3DTextLabel(vehicle_label[User[playerid][ownedvehicle_id]]);
DestroyVehicle(User[playerid][ownedvehicle_id]);
}