[Ajuda] Skin nгo salva GMX
#8

No GMX ele destroi as variбveis antes de salva-las.

Tenta salvar o dados ao digita o comando, e coloca um timer para executar o rcon GMX.

pawn Код:
forward GMX();

public GMX()
{
    GameTextForAll("~g~Rei~y~nic~b~ian~w~do ~w~Se~b~rv~y~id~g~or",10000,0);
    SendRconCommand("gmx");
    return true;
}

CMD:gmx (playerid, params[]) // Nгo й necessбrio params, pode remover esse parametro. CMD:gmx (playerid)
{
    if(pDados[playerid][pAdm] < 7)
        return SendClientMessage(playerid, COR_VERMELHO, "[ERRO] Vocк nгo tem permissгo para usar este comando!");

    for(new i=0;i<MAX_PLAYERS;i++)
    {
        SalvarPlayer(i);
    }
    SetTimer("GMX",1500,false);
    return 1;
}
Reply


Messages In This Thread
Skin nгo salva GMX - by Biieell - 21.10.2012, 22:14
Re: Skin nгo salva GMX - by mau.tito - 21.10.2012, 22:24
Re: Skin nгo salva GMX - by leandro123456 - 21.10.2012, 22:26
Re: Skin nгo salva GMX - by Biieell - 21.10.2012, 22:26
Re: Skin nгo salva GMX - by leandro123456 - 21.10.2012, 22:28
Re: Skin nгo salva GMX - by Biieell - 21.10.2012, 22:32
Re: Skin nгo salva GMX - by Biieell - 21.10.2012, 22:53
Re: Skin nгo salva GMX - by arakuta - 21.10.2012, 23:08
Re: Skin nгo salva GMX - by mau.tito - 21.10.2012, 23:14
Re: Skin nгo salva GMX - by Biieell - 21.10.2012, 23:18

Forum Jump:


Users browsing this thread: 1 Guest(s)