06.02.2015, 23:02
Good evening, how should I put these lines in y_ini ............. ?
I can work a little with y_ini however, this is difficult for me
How can I fix it...?
I can work a little with y_ini however, this is difficult for me

How can I fix it...?

PHP код:
new pIP[50]; GetPlayerIp(playerid,pIP,50);
new string2[256];
if(strlen(dini_Get("ZeroAdmin/aka.txt", pIP)) == 0)
dini_Set("ZeroAdmin/aka.txt", pIP, PlayerName);
else
{
if( strfind( dini_Get("ZeroAdmin/aka.txt", pIP), PlayerName, true) == -1 )
{
format(string2,sizeof(string2),"%s,%s", dini_Get("ZeroAdmin/aka.txt",pIP), PlayerName);
dini_Set("ZeroAdmin/aka.txt", pIP, string2);
}
}