thank's
also is it possable to use "if" just to check 1 thing?.

for example
if shutdowngame is equal to 0 the games shuts down, with no "else" or "or"

i tryed this but it dont work
if (shutdowngame == 0)
{
sys_exit(NULL);
}

--------------------------------------------------------
Edit fixed it
while(1)
{
if (shutdowngame == 0)
{
sys_exit(NULL);
}
wait(1);
}

Last edited by FireArm; 06/12/08 19:09.