Hii.. Yes the yellow stains are because of smoking. U should definitely go for Oral prophylaxis i.e. Scaling followed by polishing of ur teeth.
Next Steps
U should try n quit the habit of smoking buddy!!
Health Tips
Smoking can lead to other group of diseases.. So its better to quit Young Chap!!