CSJ
Oct 14 2007, 02:06
I am trying to count the amount of 70mm rockets I have remaining on vehicle which is using Bi standard "FFARLauncher" and "14Rnd_FFAR"
I have tried
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
_vehicle = _this select 0
_ffarCount = (_vehicle ammo "14Rnd_FFAR")
player globalchat format["%1", _ffarCount]
[/QUOTE]and<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
_vehicle = _this select 0
_ffarCount = (_vehicle ammo "FFARLauncher")
player globalchat format["%1", _ffarCount]
[/QUOTE]
both of which return a "0" value
Any ideas what is wrong ? http://forums.bistudio.com/oldsmileys/confused_o.gif
I have tried
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
_vehicle = _this select 0
_ffarCount = (_vehicle ammo "14Rnd_FFAR")
player globalchat format["%1", _ffarCount]
[/QUOTE]and<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
_vehicle = _this select 0
_ffarCount = (_vehicle ammo "FFARLauncher")
player globalchat format["%1", _ffarCount]
[/QUOTE]
both of which return a "0" value
Any ideas what is wrong ? http://forums.bistudio.com/oldsmileys/confused_o.gif