26.05.2016, 15:46
Do you want load informations or set informations in an .INI file ?
If you want set informations :
But tmp2 is empty.
If you want set informations :
PHP код:
CMD:test(playerid, params[])
{
new string[256], tmp2[256];
format(string,sizeof(string),"/accs/%s.ini",udb_encode(params));
new INI:File = INI_Open(string);
INI_WriteInt(File, "Lotto", tmp2);
INI_Close(File);
format(string,sizeof(string),"Lotto: %d ", tmp2);
SendClientMessage(playerid, -1, string);
return 1;
}