• How to get ClassName of HL2 Weapons Default ?
    2 replies, posted
When I try to get the ClassName of Stargate Weapons from aVoN Pack it's working like weapon_staff ... but when I want to get the one from HL2 default Weapons in exemple the Ar2 riffle I have this. [IMG]http://img3.imageshack.us/img3/7720/entar2.jpg[/IMG]
Either GetClass() or GetPrintName() I would think.
Thanks it's working!! This one give ClassName :D [code] ] lua_run_cl print(LocalPlayer():GetActiveWeapon():GetClass()) weapon_physgun [/code]
Sorry, you need to Log In to post a reply to this thread.