Where exactly do you get the error message, on script compiling? Can you write down the exact error message?
Do you have the variables declared before the function like in your post (maybe you have two save_settings() functions in your script)?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends