Data twice
#4

Hahhahah @fuckingcruse HAHAHHA, you really made me laugh

And, no the tag is simply created with INI_SetTag();

PHP код:
public OnPlayerDisconnect(playeridreason)
   new 
INI:File INI_Open(UserPath(playerid));
    
INI_SetTag(File"PlayerData");
    
INI_WriteInt(File"Password"PlayerInfo[playerid][Password]);
    
INI_WriteInt(File"Admin"PlayerInfo[playerid][AdminLevel]);
    
INI_WriteInt(File"Money"PlayerInfo[playerid][Money]);
    
INI_WriteInt(File"Vip"PlayerInfo[playerid][VipLevel]);
    
INI_WriteInt(File"Mechanic"PlayerInfo[playerid][Mechanic]);
    
INI_WriteInt(File"SupportMember"PlayerInfo[playerid][SupportMember]);
    
INI_WriteInt(File"Hitman"PlayerInfo[playerid][Hitman]);
    
INI_Close(File); 
PHP код:
OnDialogResponse()
       new 
INI:File INI_Open(UserPath(playerid));
            
INI_SetTag(File"PlayerData");
            
INI_WriteInt(File"Password"udb_hash(inputtext));
            
INI_WriteInt(File"Admin"0);
            
INI_WriteInt(File"Money"0);
            
INI_WriteInt(File"Vip"0);
            
INI_WriteInt(File"Mechanic"0);
            
INI_WriteInt(File"SupportMember"0);
            
INI_WriteInt(File"Hitman"0);
            
INI_Close(File); 
Reply


Messages In This Thread
Data twice - by saffierr - 02.01.2016, 12:49
Re: Data twice - by Mic_H - 02.01.2016, 13:13
Re: Data twice - by fuckingcruse - 02.01.2016, 13:16
Re: Data twice - by saffierr - 02.01.2016, 13:21
Re: Data twice - by Mic_H - 02.01.2016, 13:35
Re: Data twice - by Mic_H - 02.01.2016, 13:39
Re: Data twice - by saffierr - 02.01.2016, 13:48
Re: Data twice - by saffierr - 02.01.2016, 22:20
Re: Data twice - by Mic_H - 03.01.2016, 05:19

Forum Jump:


Users browsing this thread: 1 Guest(s)