[AJUDA] Bug
#6

pawn Код:
if (strcmp("/status", cmd, true, 8) == 0)
    {
        Status(playerid);
        return 1;
    }
Ta awe Brother

PHP код:
SalvarPlayer(playerid)
{
    new 
Float:Vida;
    new 
Float:Colete;
    
GetPlayerHealth(playeridVida);
    
GetPlayerArmour(playeridColete);
    new 
Nome[MAX_PLAYER_NAME];
    
GetPlayerName(playeridNomesizeof(Nome));
    new 
String[50];
    
format(Stringsizeof(String), CONTASNome);
    
dini_IntSet(String,"Dinheiro"GetPlayerMoney(playerid));
    
dini_FloatSet(String,"Vida"Vida);
    
dini_FloatSet(String,"Colete"Colete);
    
dini_IntSet(String,"Matou"Matou[playerid]);
    
dini_IntSet(String,"Morreu"Morreu[playerid]);
    
dini_IntSet(String,"Logou"Logou[playerid]);
    return 
1;
}
SetarPlayer(playerid)
{
    new 
Nome[MAX_PLAYER_NAME];
    
GetPlayerName(playeridNomesizeof(Nome));
    new 
String[50];
    
format(Stringsizeof(String), CONTASNome);
    
GivePlayerMoney(playeriddini_Int(String,"Dinheiro"));
    
SetPlayerHealth(playeriddini_Int(String,"Vida"));
    
SetPlayerArmour(playeriddini_Int(String,"Colete"));
    
Matou[playerid] = dini_Int(String"Matou");
    
Morreu[playerid] = dini_Int(String"Morreu");
    
Logou[playerid] = dini_Int(String"Logou");
    return 
1;
}
Status(playerid)
{
    new 
Nome[MAX_PLAYER_NAME];
    
GetPlayerName(playeridNomesizeof(Nome));
    new 
String[128];
    
SendClientMessage(playerid0xFF0000AA"================================================");
    
format(Stringsizeof(String),"Minhas Informaзхes : %s",Nome);
    
SendClientMessage(playerid0xFFFF00AA,String);
    
format(Stringsizeof(String),"Dinheiro: %d"GetPlayerMoney(playerid));
    
SendClientMessage(playerid0x1E90FFAA,String);
    
format(Stringsizeof(String),"Matou: %d",Matou[playerid]);
    
SendClientMessage(playerid0x1E90FFAA,String);
    
format(Stringsizeof(String),"Morreu: %d",Morreu[playerid]);
    
SendClientMessage(playerid0x1E90FFAA,String);
    
format(Stringsizeof(String),"Vocк Jб Logou %d Vezes Neste Servidor",Logou[playerid]);
    
SendClientMessage(playerid0x1E90FFAA,String);
    
SendClientMessage(playerid0xFF0000AA"================================================");
    return 
1;

Reply


Messages In This Thread
[AJUDA] Bug - by You_Tube - 05.09.2011, 15:29
Re: [AJUDA] Bug - by Pharrel - 05.09.2011, 15:31
Re: [AJUDA] Bug - by You_Tube - 05.09.2011, 15:33
Re: [AJUDA] Bug - by Pharrel - 05.09.2011, 15:34
Re: [AJUDA] Bug - by Lуs - 05.09.2011, 15:34
Re: [AJUDA] Bug - by You_Tube - 05.09.2011, 15:37
Re: [AJUDA] Bug - by Pharrel - 05.09.2011, 15:38
Re: [AJUDA] Bug - by Lуs - 05.09.2011, 15:43
Re: [AJUDA] Bug - by You_Tube - 05.09.2011, 15:43
Re: [AJUDA] Bug - by Bruno Pereira - 05.09.2011, 15:47

Forum Jump:


Users browsing this thread: 1 Guest(s)