reading info problem
#2

Do you want load informations or set informations in an .INI file ?
If you want set informations :
PHP код:
CMD:test(playeridparams[])
{
    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, -1string);
    return 
1;

But tmp2 is empty.
Reply


Messages In This Thread
reading info problem - by sam29 - 26.05.2016, 15:41
Re: reading info problem - by Dayrion - 26.05.2016, 15:46
Re: reading info problem - by sam29 - 26.05.2016, 15:48
Re: reading info problem - by Stinged - 26.05.2016, 15:54
Re: reading info problem - by Dayrion - 26.05.2016, 15:55
Re: reading info problem - by sam29 - 26.05.2016, 16:00
Re: reading info problem - by Dayrion - 26.05.2016, 16:02
Re: reading info problem - by Stinged - 26.05.2016, 16:06
Re: reading info problem - by sam29 - 26.05.2016, 16:08
Re: reading info problem - by Dayrion - 26.05.2016, 16:17

Forum Jump:


Users browsing this thread: 1 Guest(s)