How can I fix it
#1

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...?

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);
        }
     } 
Reply


Messages In This Thread
How can I fix it - by EmpireSk - 06.02.2015, 23:02
Re: How can I fix it - by Threshold - 07.02.2015, 00:21
Re: How can I fix it - by EmpireSk - 07.02.2015, 11:21
Re: How can I fix it - by EmpireSk - 07.02.2015, 12:52
Re: How can I fix it - by Sawalha - 07.02.2015, 12:58
Re: How can I fix it - by EmpireSk - 07.02.2015, 13:10
Re: How can I fix it - by Sawalha - 07.02.2015, 13:15
Re: How can I fix it - by EmpireSk - 07.02.2015, 13:21
Re: How can I fix it - by DaniceMcHarley - 07.02.2015, 13:56
Re: How can I fix it - by EmpireSk - 07.02.2015, 17:45

Forum Jump:


Users browsing this thread: 1 Guest(s)