16.09.2012, 15:12
Bom, eu queria um comando /orgs, mostrando os lideres, o meu ta assim:
OBS: comзo gm
E se puderem, DIALOG_STYLE_MSGBOX..
Ja agradeзo desde agora.
OBS: comзo gm
pawn Код:
enum Oinfo
{
Lider[256],
SubLider[256],
Membro1[256],
Membro2[256],
Membro3[256],
Membro4[256],
Membro5[256],
Membro6[256],
Membro7[256],
Membro8[256],
Membro9[256],
Membro10[256],
Membro11[256],
Membro12[256],
Membro13[256],
Membro14[256],
ID,
};
pawn Код:
if(strcmp(cmd, "/organizacoes", true) == 0 || strcmp(cmd, "/orgs", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_DBLUE,"_______________________________________");
SendClientMessage(playerid, COR_POLICIA, "Policia Militar (LS) - [ID-1]");
SendClientMessage(playerid, COR_POLICIA, "R.O.T.A - [ID-2]");
SendClientMessage(playerid, COR_POLICIA, "Policia Militar (LV)- [ID-3]");
SendClientMessage(playerid, COR_POLICIA, "Policia Civil - [ID-4]");
SendClientMessage(playerid, COR_EXERCITO, "Exercito - [ID-5]");
SendClientMessage(playerid, COR_ALQAEDA, "Al'Qaeda - [ID-6]");
SendClientMessage(playerid, COR_ASFARC, "F.A.R.C - [ID-7]");
SendClientMessage(playerid, COR_AZTECAS, "Varrios Los Aztecas - [ID-8]");
SendClientMessage(playerid, COR_GROOVE, "Groove Street - [ID-9]");
SendClientMessage(playerid, COR_VAGOS, "Los Santos Vagos - [ID-10]");
SendClientMessage(playerid, COR_BALLAS, "Ballas - [ID-11]");
SendClientMessage(playerid, COR_MAIORAIS, "Os Maiorais - [ID-12]");
SendClientMessage(playerid, COR_SAMU, "S.A.M.U (LS) - [ID-13]");
SendClientMessage(playerid, COR_SAMU, "S.A.M.U (LV) - [ID-14]");
SendClientMessage(playerid, COR_NEWS, "Los Santos News - [ID-15]");
SendClientMessage(playerid, COR_NEWS, "Las Venturas News - [ID-16]");
SendClientMessage(playerid, COR_NEWS, "San Andreas News - [ID-17]");
SendClientMessage(playerid, COR_ASSASSINOS, "Agencia dos Assassinos - [ID-18]");
SendClientMessage(playerid, COR_POLICIA, "Policia Federal - [ID-19]");
SendClientMessage(playerid, COR_INSTRUTOR, "Instrutor - [ID-20]");
SendClientMessage(playerid, COR_TAXI, "Taxista (LS) - [ID-21]");
SendClientMessage(playerid, COR_TAXI, "Taxista (LV) - [ID-22]");
SendClientMessage(playerid, COR_STRACCI, "Familia Stracci - [ID-23]");
SendClientMessage(playerid, COR_BARZINI, "Familia Barzini [ID-24]");
SendClientMessage(playerid, COR_TATTAGLIAS, "Familia Tattaglias [ID-25]");
SendClientMessage(playerid, COR_CUNEO, "Familia Cuneo [ID-26]");
SendClientMessage(playerid, COR_CORLEONE, "Familia Corleone [ID-27]");
SendClientMessage(playerid, COR_GOVERNO, "Camara Municipal (LS) [ID-28]");
SendClientMessage(playerid, COR_GOVERNO, "Camara Municipal (LV) [ID-29]");
SendClientMessage(playerid, COR_GOVERNO, "Governo San Andreas [ID-30]");
SendClientMessage(playerid, COLOR_DBLUE,"_______________________________________");
}
return 1;
}
Ja agradeзo desde agora.