Data Realms Fan Forums http://45.55.195.193/ |
|
HeldDevice.Ammo? http://45.55.195.193/viewtopic.php?f=73&t=15461 |
Page 1 of 1 |
Author: | Kyred [ Sun Jun 21, 2009 2:26 am ] |
Post subject: | HeldDevice.Ammo? |
Is there a Lua variable or function that can tell you how much ammo is left in your gun/magazine? |
Author: | mail2345 [ Sun Jun 21, 2009 2:49 am ] |
Post subject: | Re: HeldDevice.Ammo? |
Nope. You can have casings with lua that update a global actor indexed list. Better yet, index it with the HDFirearm itself. |
Author: | TheLastBanana [ Sun Jun 21, 2009 6:50 am ] |
Post subject: | Re: HeldDevice.Ammo? |
You can also check if it's full with HeldDevice:IsFull, but that's probably not what you're looking for. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |