Not record mhini
#1

Help fix code
recording only when the player is offline and that should be written when the game and offline

PHP код:
if(PlayerInfo[i][pLevel] == && PlayerInfo[i][pExp] == 1)
            {
    
GetPlayerName(isendernamesizeof(sendername));
                
format(stringsizeof(string), "%s.ini",sendername);
                new 
file ini_openFile(string);
                if(
file 0) print("no file");
                else
                {
                    
ini_getString(file"pDrug",string);
                    
format(stringsizeof(string), "%s.ini",string);
                        new 
file2 ini_openFile(string);
                        if(!
file2)
                        {
                    
ini_setInteger(file2"FriendMoney",100000);
                    
ini_setInteger(file2"Text2",3);
                    
ini_closeFile(file2);
                    
ini_closeFile(file);
                    
SendClientMessage(iCOLOR_ORANGE"1");
                    }
                }
            } 
Reply


Messages In This Thread
Not record mhini - by Kuroki - 28.03.2013, 09:47
Re: Not record mhini - by milanosie - 28.03.2013, 09:52
Re: Not record mhini - by Kuroki - 28.03.2013, 10:39
Re: Not record mhini - by Kuroki - 28.03.2013, 12:19
Re: Not record mhini - by Kuroki - 28.03.2013, 17:08
Re: Not record mhini - by Kuroki - 30.03.2013, 14:42

Forum Jump:


Users browsing this thread: 1 Guest(s)