Reply to more problems
If you don't have an account, just leave the password field blank.
im supposed to create a trader and make the sprite(not the trader) count the no. of times i hit it
whats wrong with the script?
void main(void)
{
int &a;
&a=0;
int&trader=create_sprite(300,150,0,381,1);
}
void talk(void)
{
freeze(1);
freeze(¤t_sprite);
say_stop("Why did you call me?",1)
say_stop("`1Can you do me a favour?",¤t_sprite);
say_stop("What now?",1);
say_stop("`1........",¤t_sprite);
say_stop("Ok ok what do i have to do?",1);
unfreeze(¤t_sprite);
unfreeze(1);
}
void hit(void)
{
&a+=1;
say_stop("ok",¤t_sprite);
say_stop("u hit me &a times ^^",¤t_sprite);
}
whats wrong with the script?
void main(void)
{
int &a;
&a=0;
int&trader=create_sprite(300,150,0,381,1);
}
void talk(void)
{
freeze(1);
freeze(¤t_sprite);
say_stop("Why did you call me?",1)
say_stop("`1Can you do me a favour?",¤t_sprite);
say_stop("What now?",1);
say_stop("`1........",¤t_sprite);
say_stop("Ok ok what do i have to do?",1);
unfreeze(¤t_sprite);
unfreeze(1);
}
void hit(void)
{
&a+=1;
say_stop("ok",¤t_sprite);
say_stop("u hit me &a times ^^",¤t_sprite);
}