but if nobody will be in that car that it wont blow up
Not necessarily ... you could use a variable like HasBombCar[playerid] = 1; after buying the bomb. The process of actually buying the bomb will set the bomb on the car ID. All you would need to do is use the variable in a command or by using player keys to explode the bomb.