• Check if client has a game?
    4 replies, posted
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]
[b][url=http://wiki.garrysmod.com/?title=G.GetMountedContent]G.GetMountedContent [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
[QUOTE=amkoc;33275494]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][/QUOTE] Oh god, code in german.
I saw a code in DarkRP about checking if the player had CSS installed.
[QUOTE=Peach;33331447]I saw a code in DarkRP about checking if the player had CSS installed.[/QUOTE] it checks the server, but it's the same concept
Sorry, you need to Log In to post a reply to this thread.