Quote:
Originally Posted by qw3rt
Yep thanks
i used like this and it works :
PHP Code:
if (i<50)
lay2 bombs,x,y+2;lay2 bombs,x,y;
In fact it gaves me 2 bombs icons but it messed cause the secand icons was hidden by the first one, due to the same lay position.
thanks 
|
Note that this probably doesn't work like you want.
Your code currently reads like:
PHP Code:
if (i < 50) {
lay2 bombs,x,y+2;
}
lay2 bombs,x,y;
The second statement, lay2 bombs,x,y;, will always be executed in this situation.
If statements without brackets will only work for the next statement.
What you want is something like:
PHP Code:
if (i < 50) {
lay2 bombs,x,y+2;
lay2 bombs,x,y;
}