Is there a LUA command that detects whether you are holding a weapon or not?
For example in my WIP (paranormal investigation), most of the time you will be holding an EMF meter which is a sprite on the screen, but what i want to do is make it so that if you are holding a weapon it hides that sprite, and if you hit 0 to turn off your weapon it will show the sprite again.
Is this possible? If so how would i go about it?
[img]belidos3d.swgrp.co.uk/wp-content/uploads/2016/03/blogo.png[/img]
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.
Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.
Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.