Jump to content
Sign in to follow this  
frankie2spankie

Need help (condition)

Recommended Posts

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

<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

<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
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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×