With this script the getting the following are possible:
**It is added to the existing player() function, use it as player(id, "ammoin"), etc**
weapontype -> same as player(id,"weapon")
weaponname -> same as itemtype(player(id,"weapon"),"name")
ammoin -> same as item(id,"ammoin")
ammo -> same as item(id,"ammo")
weaponmode -> same as item(id,"mode")
An example is shown in this GIF:
Recorded with LiceCap.
You can drop and pickup weapons and it will still work fine.
edited 2×, last 04.04.14 08:16:35 pm
Approved by Yates
Download
652 b, 685 Downloads