INI_Int --> filename putting problem
#3

pawn Код:
stock UserPath(playerid)
{
    new string[128],playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(string,sizeof(string),PATH,playername);
    return string;
}
The 'PATH' should be changed according to your script.
e.g /Accounts/%s.ini

Plus as far as I understood from ******'s tutorial, it should be:
pawn Код:
INI:filename[n](name[], value[])
EDIT: Another plus, I'm not so sure as I'm not familiar with YSI but I think you have to open the file first.
Reply


Messages In This Thread
INI_Int --> filename putting problem - by HurtLocker - 18.05.2013, 22:23
AW: INI_Int --> filename putting problem - by HurtLocker - 19.05.2013, 09:36
Re: INI_Int --> filename putting problem - by zxc1 - 19.05.2013, 10:28
AW: Re: INI_Int --> filename putting problem - by HurtLocker - 19.05.2013, 10:40
Re: INI_Int --> filename putting problem - by zxc1 - 19.05.2013, 11:09
AW: INI_Int --> filename putting problem - by HurtLocker - 19.05.2013, 13:33
AW: INI_Int --> filename putting problem - by HurtLocker - 19.05.2013, 22:24
AW: INI_Int --> filename putting problem - by HurtLocker - 20.05.2013, 11:05
AW: INI_Int --> filename putting problem - by HurtLocker - 20.05.2013, 12:46
AW: INI_Int --> filename putting problem - by HurtLocker - 20.05.2013, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)