[Ajuda] Error estranho
#6

n sei se vai da certo mais coloca na OnGameModeExit:

PHP код:
for(new 0MAX_PLAYERSi++)
{
    
SalvarPlayer(i);

tenta assim:

PHP код:
SavePlayer(playerid

    if( 
DOF2_FileExists(PegarConta(playerid))) 
    { 
        
DOF2_SetInt(PegarConta(playerid), "Skin"Player[playerid][Skin]); 
        
DOF2_SetInt(PegarConta(playerid), "Score"Player[playerid][Score]); 
        
DOF2_SetInt(PegarConta(playerid), "Matou"Player[playerid][Matou]); 
        
DOF2_SetInt(PegarConta(playerid), "Morreu"Player[playerid][Morreu]); 
        
DOF2_SetInt(PegarConta(playerid), "Faccoes"Player[playerid][Faccoes]); 
        
DOF2_SetInt(PegarConta(playerid), "Morro"Player[playerid][Morro]); 
        
DOF2_SetInt(PegarConta(playerid), "Cargo"Player[playerid][Cargo]); 
        
DOF2_SetInt(PegarConta(playerid), "Dinheiro"GetPlayerMoney(playerid)); 
        
DOF2_SetInt(PegarConta(playerid), "Admin"Player[playerid][Admin]); 
        
DOF2_SaveFile(); 
    } 
    return 
1

Reply


Messages In This Thread
Error estranho - by BrGabrielBr - 05.07.2018, 00:57
Re: Error estranho - by Cauezin - 05.07.2018, 01:08
Re: Error estranho - by BrGabrielBr - 05.07.2018, 01:12
Re: Error estranho - by bruxo00 - 05.07.2018, 01:30
Re: Error estranho - by BrGabrielBr - 05.07.2018, 01:57
Re: Error estranho - by AutoMatic2 - 05.07.2018, 02:57
Re: Error estranho - by BrGabrielBr - 05.07.2018, 03:03
Re: Error estranho - by AutoMatic2 - 05.07.2018, 03:04
Re: Error estranho - by BrGabrielBr - 05.07.2018, 03:17
Re: Error estranho - by AutoMatic2 - 05.07.2018, 03:38

Forum Jump:


Users browsing this thread: 4 Guest(s)