[Ajuda] Text Admin em Serviзo
#7

pawn Код:
if(strcmp(cmd, "/trabalhar", true) == 0)
    {
        if(PlayerInfo[playerid][pJailed] != 0)
        {
            SendClientMessage(playerid,COLOR_YELLOW," Vocк nгo pode trabalhar na cadeia!");
            return true;
        }
        if(PlayerInfo[playerid][pAdmin] >= 1)
        {
            if(admtrampando[playerid] > 0)
            {
                admtrampando[playerid] = 0;
                GetPlayerName(playerid,sendername,sizeof(sendername));
                SendClientMessageToAll(COLOR_AZULBB, "|_______________ Administraзгo _______________|");
                format(string, 128, "{00BFFF}Admin: %s ID(%d) estб Jogando, Veja em {E0EEE0}/admins",sendername, playerid);
                SendClientMessageToAll(0x660066F6, string);
                KillTimer(TempoAdministrador);
                SetPlayerToTeamColor(playerid);
                ResetPlayerWeaponsEx(playerid);
                SetPlayerHealth(playerid,100);
                SetPlayerSkin(playerid,skinadm[playerid]);
                getdate(year, month, day);
                gettime(hour,minute,second);
                format(gstring, sizeof(gstring), "%s esta jogando [%d/%d/%d - %d:%d:%d]\n", PlayerName(playerid), day, month, year, hour, minute, second);
                AdminLog(gstring);
            }
            else
            {
                admtrampando[playerid] = 1;
                GetPlayerName(playerid,sendername,sizeof(sendername));
                SendClientMessageToAll(COLOR_AZULBB, "|_______________ Administraзгo _______________|");
                format(string, 128, "{00BFFF}Admin: %s ID(%d) estб Trabalhando, veja em {E0EEE0}/admins",sendername, playerid);
                SendClientMessageToAll(0xAA3333AA, string);
                SetPlayerToTeamColor(playerid);
                TempoAdministrador = SetTimerEx("Administrador", 100, true, "i", playerid);
                skinadm[playerid] = GetPlayerSkin(playerid);
                SetPlayerSkin(playerid,217);
                getdate(year, month, day);
                gettime(hour,minute,second);
                format(gstring, sizeof(gstring), "%s estб trabalhando [%d/%d/%d - %d:%d:%d]\n", PlayerName(playerid), day, month, year, hour, minute, second);
                AdminLog(gstring);
           }
        }
        return true;
    }
Talvez se colocasse o texto aqui, funcionasse.
Sу estou pensando como.
sugestхes ?
Reply


Messages In This Thread
Text Admin em Serviзo - by Felipe_Castro - 17.12.2013, 03:48
Re: Text Admin em Serviзo - by focaximubh - 17.12.2013, 04:00
Re: Text Admin em Serviзo - by Felipe_Castro - 17.12.2013, 04:01
Re: Text Admin em Serviзo - by focaximubh - 17.12.2013, 04:09
Re: Text Admin em Serviзo - by Felipe_Castro - 17.12.2013, 04:31
Re: Text Admin em Serviзo - by focaximubh - 17.12.2013, 04:40
Re: Text Admin em Serviзo - by Felipe_Castro - 17.12.2013, 04:56
Re: Text Admin em Serviзo - by Felipe_Castro - 17.12.2013, 11:27

Forum Jump:


Users browsing this thread: 2 Guest(s)