In Grand Theft Auto: Vice City, smoking is not a function normally possible in gameplay, however a cheat on the PC version allows this to happen.
In Grand Theft Auto: Online, the player starts off with 10 Redwood cigarettes in their inventory. Once there are none left, the player can go to a 24/7 convenience store to buy a pack of 30 for $8 dollars.
Due to the fact that smoking is only available in a cheat in Vice City, there is no effect in-game. Tommy will not even hold the cigarette; it will simply be held in his mouth while producing smoke.
In GTA:Online, however, there is a quick animation for the protagonist to take two puffs of the cigarette before throwing it on the ground. This time, the cigarette will negate some health points.