|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
Kyred
Joined: Sun May 31, 2009 1:04 am Posts: 308
|
HeldDevice.Ammo?
Is there a Lua variable or function that can tell you how much ammo is left in your gun/magazine?
|
Sun Jun 21, 2009 2:26 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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.
|
Sun Jun 21, 2009 2:49 am |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
Re: HeldDevice.Ammo?
You can also check if it's full with HeldDevice:IsFull, but that's probably not what you're looking for.
|
Sun Jun 21, 2009 6:50 am |
|
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|