Change FPS Target In-Game

Hello! I’m developing a mobile game right now, and I’ve already got some nifty scalability features to work just fine: mainly changing the resolution and turning AA on/off. But I’d like users to be able to specify whether they want to target 30f or 60f. High-end users can target 60f, lower-end users 30f, and this should be a toggle in the menu.

So far, the only setting I found was: t.maxfps. I am not sure how the game responds with changing this setting when I use the smooth framerate. If anyone has already done this and figured it out, please let me know!