Data Extraction ?
#1

Hello, I want to take the player's money but it doesn't work. What is the problem ?

Код:
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;
}
The cmd screen shows no data.
Reply
#2

Can you show us the format of the file?
Reply
#3

Quote:
Originally Posted by Stinged
Посмотреть сообщение
Can you show us the format of the file?
I'm sorry for my bad English.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)