Re: why does this code not work
You may not put the braces if your if statement is only going to contain one line of code as its conclusion. i hope that makes sense. To make it more clear, here's an example that will work.void main(){int age=3;if(age==3)alert("3", "
Re: why does this code not work
Yeah.So first of all, there was the brace missing. Secondly, you should put a wait(5); statement in the while loop, unless you want the processors of the players to overflow a bit.
URL: https://forum.audiogames.net/post/458815/#p458815
--
Audiogames
Re: why does this code not work
#include"m.bgt"#include"menu.bgt"#include"sound_pool.bgt"int num;string guess;sound_pool p;void main(){install_keyhook();show_game_window("guess the number version 1.0");select_diff();}void game(){while(true){string gu
why does this code not work
I am making a small guess the number game, to see if I could do that. When I runn the game, it said on the line that it says else, there is an error that says expected _expression_ value. Here is the code#include"m.bgt"#include"menu.bgt"#in
why does this code not work
I am making a small guess the number game, to see if I could do that. When I runn the game, it said on the line that it says else, there is an error that says expected _expression_ value. Here is the code#include"m.bgt"#include"menu.bgt"#in