Check if client has a game?

Any way to check if a client has a game?

Like,

[lua]
– pseudocode up in here

if LocalPlayer():HasGame(“TF2”) then
–tf2 model, particle effect, what have you

else
–Ersatz model, particle effect, what have you
end
[/lua]

**[G.GetMountedContent

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=G.GetMountedContent)**

Oh god, code in german.

I saw a code in DarkRP about checking if the player had CSS installed.

it checks the server, but it’s the same concept