[Ajuda] Salvamento de dados
#10

Quote:
Originally Posted by Patrick141
Посмотреть сообщение
Ok , esta public carrega os dados do jogador:
pawn Код:
public LoadPlayerData(playerid, name[], value[])
{
    INI_Int("Password", P_Data[playerid][pPassword]);
    INI_Int("Admin", P_Data[playerid][pAdmin]);
    INI_Int("Money", P_Data[playerid][pMoney]);
    INI_Int("Score", P_Data[playerid][pScore]);
    INI_Int("Skin", P_Data[playerid][pSkin]);
    INI_Int("Warn", P_Data[playerid][pWarn]);
    INI_Int("Godc", P_Data[playerid][pGodc]);
    return 1;
}
Devo mudar alguma coisa , ou acrescentar ?
PHP код:
public LoadPlayerData(playeridname[], value[])

    
INI_Int("Password"P_Data[playerid][pPassword]);
    
INI_Int("Admin"P_Data[playerid][pAdmin]);
    
INI_Int("Money"P_Data[playerid][pMoney]);
    
INI_Int("Score"P_Data[playerid][pScore]);
    
INI_Int("Skin"P_Data[playerid][pSkin]);
    
INI_Int("Warn"P_Data[playerid][pWarn]);
    
INI_Int("Godc"P_Data[playerid][pGodc]);
    
INI_Int("AutoRepair"AutoRepair[playerid]);
    return 
1

Reply


Messages In This Thread
Salvamento de dados - by Patrick141 - 11.03.2015, 21:47
Re: Salvamento de dados - by Lуs - 11.03.2015, 21:49
Re: Salvamento de dados - by Patrick141 - 11.03.2015, 21:51
Re: Salvamento de dados - by Lуs - 11.03.2015, 21:59
Re: Salvamento de dados - by Patrick141 - 11.03.2015, 22:05
Re: Salvamento de dados - by Lуs - 11.03.2015, 22:23
Re: Salvamento de dados - by Patrick141 - 11.03.2015, 22:26
Re: Salvamento de dados - by Lуs - 11.03.2015, 22:26
Re: Salvamento de dados - by Patrick141 - 11.03.2015, 22:34
Re: Salvamento de dados - by Lуs - 11.03.2015, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)