SA-MP Forums Archive
[AJUDA] Comando /settime - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Comando /settime (/showthread.php?tid=313659)



[AJUDA] Comando /settime - sonmook - 26.01.2012

Bom quero que Alguem fassa um Cmd pra mim /settime sу para Admins que Setб o Player para HQ se ele for Civil seta para o Spawn Civil entenderam ? Por favor to precisando Muito


Re: [AJUDA] Comando /settime - Don_Speed - 26.01.2012

pawn Код:
if(strcmp(cmd, "/levarhq", true) == 0 || strcmp(cmd, "/settime", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                MSGPLAYER(playerid, COLOR_GRAD2, "USE: /levarhq [id]");
                return 1;
            }
            new para1;
            para1 = ReturnUser(tmp);
            if (PlayerInfo[playerid][pAdmin] >= 2)
            {
                if(admtrampando[playerid] < 1)
                {
                MSGPLAYER(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/trabalhar)");
                return 1;
                }
                if(IsPlayerConnected(para1))
                {
                    if(para1 != INVALID_PLAYER_ID)
                    {
                        GetPlayerName(para1, giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        SetPlayerWeapons(para1);
                        SetPlayerSpawn(para1);
                        ClearCrime(para1);
                        format(string, sizeof(string), "   Vocк foi levado ao Spawn por %s", sendername);
                        MSGPLAYER(para1, COLOR_LIGHTBLUE, string);
                        format(string, sizeof(string), "   Vocк levou %s a seu Spawn.", giveplayer);
                        MSGPLAYER(playerid, COLOR_LIGHTBLUE, string);
                    }
                }
            }
            else
            {
                MSGPLAYER(playerid, COLOR_GRAD1, "   Vocк nгo estб autorizado a usar este comando!");
            }
        }
        return 1;
    }



Re: [AJUDA] Comando /settime - Ricop522 - 26.01.2012

Tб difнcil hoje em dia em,


Re: [AJUDA] Comando /settime - Jorge_Braz - 27.01.2012

kkkkkkkkk sim cara ! й cada noob abrindo servidor


Re: [AJUDA] Comando /settime - Marshall_Elite - 27.01.2012

*-*

poxa


Re: [AJUDA] Comando /settime - Jorge_Braz - 27.01.2012

oque ??