01.06.2015, 15:43
Thats doesn't matter...in inputtext is the value he clicked.
So if he clicked on America...the inputtext = America...
Then use this function:
But...you should save just the integer and you can make a function who parse the integers into strings, for e.g. stats:
Greekz
So if he clicked on America...the inputtext = America...
Then use this function:
Код:
INI_WriteString(File,"Origin", inputtext);
Код:
stock GetCountry(id) { new string[32]; switch(id) { case 1: string = "America"; //For example } return string; }