how to get the weapon info of the npc ?
I tried " GetActiveWeapon():GetPrintName() " but nothing I get an error.
I just want to see this and print this info in my hud.
Thanks
Well you can do
[lua]LocalPlayer():GetEyeTrace().HitPos:Entity():GetActiveWeapon():GetPrintName()[/lua]
And print it when you're looking at them
thanks it's working :)
You're welcome.
Sorry, you need to Log In to post a reply to this thread.