[Ajuda] Comando /orgs -
KilleRJunioR - 04.05.2012
Olб galera tou com um probleminha que ainda nao vi como se fazer queri mudar meu comando /orgs para os players poderem ver ele, tipo o players digita /orgs e ele ver as orgs sem lider =D CMD logo abaixo se alguem poder me ajudar obg desde ja =D
pawn Код:
if(strcmp(cmd, "/infolider", true) == 0 || strcmp(cmd, "/orgs", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pLinha1] < 1)
{
if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1345 && PlayerInfo[playerid][pAdmin] != 1341)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/jogar)");
return 1;
}
SendClientMessage(playerid, COR_PM, "*** Policia Militar - 1");
SendClientMessage(playerid, COR_PR, "*** BOPE - 2");
SendClientMessage(playerid, COR_EXE, "*** Exercito - 3");
SendClientMessage(playerid, COR_SAMU, "*** Medicos - 4");
SendClientMessage(playerid, COR_AZTECAS, "*** Los Aztecas - 5");
SendClientMessage(playerid, COR_TAL, "*** Taliban - 6");
SendClientMessage(playerid, COR_PRE, "*** Prefeito - 7");
SendClientMessage(playerid, COR_HITMAN, "*** Hitmans - 8");
SendClientMessage(playerid, COR_REP, "*** Reporter - 9");
SendClientMessage(playerid, COR_TAXI, "*** Taxista - 10");
SendClientMessage(playerid, COR_PF, "*** Policia Federal - 11");
SendClientMessage(playerid, COLOR_LH, "*** Mбfia La Hermandad - 12");
SendClientMessage(playerid, COR_YAK, "*** Mбfia Yakuza - 13");
SendClientMessage(playerid, COR_GRO, "*** Grove Street - 14");
SendClientMessage(playerid, COR_AL, "*** Al'Qaeda - 15");
SendClientMessage(playerid, COR_PC, "*** Policia Civil - 16");
SendClientMessage(playerid, COR_BALLAS, "*** Ballas - 17");
SendClientMessage(playerid, COR_VAGOS, "*** Los Vagos - 18");
SendClientMessage(playerid, 0xF6000000, "*** Comando Vermelho - 19");
SendClientMessage(playerid, 0xCCFF99FF, "*** PCC - 20");
SendClientMessage(playerid, COR_RATOS, "*** Os Ratos - 21");
SendClientMessage(playerid, COR_HELLANGELS, "*** Hells Angels - 22");
}
}
return 1;
}
Re: [Ajuda] Comando /orgs -
sanalex - 04.05.2012
pawn Код:
if(strcmp(cmd, "/infolider", true) == 0 || strcmp(cmd, "/orgs", true) == 0)
{
if(IsPlayerConnected(playerid)) {
SendClientMessage(playerid, COR_PM, "*** Policia Militar - 1");
SendClientMessage(playerid, COR_PR, "*** BOPE - 2");
SendClientMessage(playerid, COR_EXE, "*** Exercito - 3");
SendClientMessage(playerid, COR_SAMU, "*** Medicos - 4");
SendClientMessage(playerid, COR_AZTECAS, "*** Los Aztecas - 5");
SendClientMessage(playerid, COR_TAL, "*** Taliban - 6");
SendClientMessage(playerid, COR_PRE, "*** Prefeito - 7");
SendClientMessage(playerid, COR_HITMAN, "*** Hitmans - 8");
SendClientMessage(playerid, COR_REP, "*** Reporter - 9");
SendClientMessage(playerid, COR_TAXI, "*** Taxista - 10");
SendClientMessage(playerid, COR_PF, "*** Policia Federal - 11");
SendClientMessage(playerid, COLOR_LH, "*** Mбfia La Hermandad - 12");
SendClientMessage(playerid, COR_YAK, "*** Mбfia Yakuza - 13");
SendClientMessage(playerid, COR_GRO, "*** Grove Street - 14");
SendClientMessage(playerid, COR_AL, "*** Al'Qaeda - 15");
SendClientMessage(playerid, COR_PC, "*** Policia Civil - 16");
SendClientMessage(playerid, COR_BALLAS, "*** Ballas - 17");
SendClientMessage(playerid, COR_VAGOS, "*** Los Vagos - 18");
SendClientMessage(playerid, 0xF6000000, "*** Comando Vermelho - 19");
SendClientMessage(playerid, 0xCCFF99FF, "*** PCC - 20");
SendClientMessage(playerid, COR_RATOS, "*** Os Ratos - 21");
SendClientMessage(playerid, COR_HELLANGELS, "*** Hells Angels - 22");
}
return 1;
}
Re: [Ajuda] Comando /orgs -
Joker_OutLock - 04.05.2012
pawn Код:
if(strcmp(cmd, "/infolider", true) == 0 || strcmp(cmd, "/orgs", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COR_PM, "*** Policia Militar - 1");
SendClientMessage(playerid, COR_PR, "*** BOPE - 2");
SendClientMessage(playerid, COR_EXE, "*** Exercito - 3");
SendClientMessage(playerid, COR_SAMU, "*** Medicos - 4");
SendClientMessage(playerid, COR_AZTECAS, "*** Los Aztecas - 5");
SendClientMessage(playerid, COR_TAL, "*** Taliban - 6");
SendClientMessage(playerid, COR_PRE, "*** Prefeito - 7");
SendClientMessage(playerid, COR_HITMAN, "*** Hitmans - 8");
SendClientMessage(playerid, COR_REP, "*** Reporter - 9");
SendClientMessage(playerid, COR_TAXI, "*** Taxista - 10");
SendClientMessage(playerid, COR_PF, "*** Policia Federal - 11");
SendClientMessage(playerid, COLOR_LH, "*** Mбfia La Hermandad - 12");
SendClientMessage(playerid, COR_YAK, "*** Mбfia Yakuza - 13");
SendClientMessage(playerid, COR_GRO, "*** Grove Street - 14");
SendClientMessage(playerid, COR_AL, "*** Al'Qaeda - 15");
SendClientMessage(playerid, COR_PC, "*** Policia Civil - 16");
SendClientMessage(playerid, COR_BALLAS, "*** Ballas - 17");
SendClientMessage(playerid, COR_VAGOS, "*** Los Vagos - 18");
SendClientMessage(playerid, 0xF6000000, "*** Comando Vermelho - 19");
SendClientMessage(playerid, 0xCCFF99FF, "*** PCC - 20");
SendClientMessage(playerid, COR_RATOS, "*** Os Ratos - 21");
SendClientMessage(playerid, COR_HELLANGELS, "*** Hells Angels - 22");
} else { return 0;}
return 1;
}
Re: [Ajuda] Comando /orgs -
CidadeNovaRP - 04.05.2012
LOL, que fбcil mano, ta ae
:
pawn Код:
if(strcmp(cmd, "/infolider", true) == 0 || strcmp(cmd, "/orgs", true) == 0)
{
SendClientMessage(playerid, COR_PM, "*** Policia Militar - 1");
SendClientMessage(playerid, COR_PR, "*** BOPE - 2");
SendClientMessage(playerid, COR_EXE, "*** Exercito - 3");
SendClientMessage(playerid, COR_SAMU, "*** Medicos - 4");
SendClientMessage(playerid, COR_AZTECAS, "*** Los Aztecas - 5");
SendClientMessage(playerid, COR_TAL, "*** Taliban - 6");
SendClientMessage(playerid, COR_PRE, "*** Prefeito - 7");
SendClientMessage(playerid, COR_HITMAN, "*** Hitmans - 8");
SendClientMessage(playerid, COR_REP, "*** Reporter - 9");
SendClientMessage(playerid, COR_TAXI, "*** Taxista - 10");
SendClientMessage(playerid, COR_PF, "*** Policia Federal - 11");
SendClientMessage(playerid, COLOR_LH, "*** Mбfia La Hermandad - 12");
SendClientMessage(playerid, COR_YAK, "*** Mбfia Yakuza - 13");
SendClientMessage(playerid, COR_GRO, "*** Grove Street - 14");
SendClientMessage(playerid, COR_AL, "*** Al'Qaeda - 15");
SendClientMessage(playerid, COR_PC, "*** Policia Civil - 16");
SendClientMessage(playerid, COR_BALLAS, "*** Ballas - 17");
SendClientMessage(playerid, COR_VAGOS, "*** Los Vagos - 18");
SendClientMessage(playerid, 0xF6000000, "*** Comando Vermelho - 19");
SendClientMessage(playerid, 0xCCFF99FF, "*** PCC - 20");
SendClientMessage(playerid, COR_RATOS, "*** Os Ratos - 21");
SendClientMessage(playerid, COR_HELLANGELS, "*** Hells Angels - 22");
return 1;
}