frankie2spankie 0 Posted July 20, 2003 Ok, what i want is a condition which runs when "player1" runs out of mines. I tried the following condition but it did not work properly. player1 ammo "mine" == 0 please can some1 help? Share this post Link to post Share on other sites
iNeo 0 Posted July 20, 2003 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">!(player1 hasWeapon "Mine")May work. Don't know. Share this post Link to post Share on other sites
vektorboson 8 Posted July 20, 2003 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ("_x == ""Mine""" count (magazines player)) == 0 Share this post Link to post Share on other sites
vektorboson 8 Posted July 20, 2003 Wont my way work? Mines are Magazines and not weapons; The weapon for mines is "Put". Share this post Link to post Share on other sites
iNeo 0 Posted July 20, 2003 ok. Was thinking that too... but I was thinking you do use addweapon mine first, and then addmagazine, but I'm not so sure about that now. Share this post Link to post Share on other sites