03.09.2011, 04:20
[pawn]
pawn Код:
forward AccountRead(playerid);
public AccountRead(playerid)
{
new strpl[30],asd;
format(strpl, 30, "Accounts/%s.ini", pName(playerid));
new File:F = fopen(strpl, io_read);
while(fread(F, strpl))
{
if(strcmp(strpl, "kill ", true, 5)==0)
{
sscanf(strpl,"{d}d",asd);
printf("kills %d",asd);
}
}
return true;
}
Quote:
|
The two new specifiers "{" and "}" are used for what are known as "quiet" strings. These are strings which are read and checked, but not saved. |

