19.05.2016, 16:29
Hello, I want to take the player's money but it doesn't work. What is the problem ?
The cmd screen shows no data.
Код:
ReadConf() { new string[1000], aa, File:filex = fopen("SFCRRPG/DAS.dudb.sav", io_read); while(fread(filex, string)) { if(!strcmp(string,"Bankcash ")) { aa = strval(string); printf("Bank Cash: %d",aa); break; } } fclose(filex); return 1; }