Jump to content
Sign in to follow this  
D.murphy man

2 questions

Recommended Posts

hey all,

i have to questions for ya.

1.how may  remove an addaction command from the action menu after its been used?

2.Is there any money system scipts out there?i found one whiles serching this forum by RED,witch was pretty simple,but it dident work(the scipt to buy a vehical dident work) confused.gif

Thnx,

    D.murphy man

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (D.murphy man @ Mar. 04 2003,19:11)</td></tr><tr><td id="QUOTE">1.how may  remove an addaction command from the action menu after its been used?<span id='postcolor'>

In the script, where you want it to be removed, use the following.

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">unitName removeAction 0<span id='postcolor'>

Where unitName is the name of the unit the action is attached to, and 0 is for the first added action, 1 is for the second, 2 is for the third, and so on.

YW wink.gif

Share this post


Link to post
Share on other sites

If you want to remove action from unit after first use you can use :

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

(_this select 0) removeAction (_this select 2)

<span id='postcolor'>

in that action script.

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  

×