• Getting active weapon's name (not PrintName)
    2 replies, posted
I've been looking through the wiki and I can't find a way to get the name (e.g. weapon_pistol). Is it possible to get this some way? Thanks.
Call [b][url=http://wiki.garrysmod.com/?title=Entity.GetClass]Entity.GetClass [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] on the weapon returned by [b][url=http://wiki.garrysmod.com/?title=Player.GetActiveWeapon]Player.GetActiveWeapon [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b].
[QUOTE=MakeR;27279004]Call [b][url=http://wiki.garrysmod.com/?title=Entity.GetClass]Entity.GetClass [img_thumb]http://wiki.garrysmod.com/favicon.ico[/img_thumb][/url][/b] on the weapon returned by [b][url=http://wiki.garrysmod.com/?title=Player.GetActiveWeapon]Player.GetActiveWeapon [img_thumb]http://wiki.garrysmod.com/favicon.ico[/img_thumb][/url][/b].[/QUOTE] Thank you :)
Sorry, you need to Log In to post a reply to this thread.