View Single Post
  #1  
Old 06-20-2010, 12:09 AM
qw3rt qw3rt is offline
qW£rt Classic Iphone
qw3rt's Avatar
Join Date: Jun 2010
Location: France
Posts: 34
qw3rt is an unknown quantity at this point
Lay Items Problem

Hi

I would liked to script a simple baddy but i have a problem,i'm sure its simple but i can't find a solution

PHP Code:
if (timeout && this.mode==4) {
  
random(0,100);
  if (
i<50lay bombslay bombs;
  if (
i>50lay darts
that's a part of the script its about when the baddy die i would like it lays bombs or arrows.

It works, but the problem is it lay 1 bombs icon and when i take it, it gives me 10 bombs.
Me I would like it lay ,instead of 1bombs icons and 10 bombs, 2 bombs icons and 10 bombs.

Thanks, i hope i explained it well.
__________________
Reply With Quote