04.09.2012, 14:11
Olб gostaria de um tutorial para eu criar minhas orgs coloridas e com nome dos lнderes
Sou Newba em pawn poderiam criar e explicar as funзхes?
esse й o /orgs original que nгo й em dialog
pawn Код:
1-Policia Militar LS\n2-Rotam LS\n3 - Forзas Armadas\n4 - Mйdicos LS\n5 - Aztecas LS\n6 - Guerrilheiros Israelitas\n7 - Prefeito LS\n 8 - Hitmans\n9 - Los Santos News\n10 - Taxista\n11 - Policia Federal\n12 - Mбfia Cosa Nostra\n13 - Mбfia Yakuza\n14 - Groove LS\n15 - F.A.R.C\n17 - Ballas LS\n18 - Vagos LS\n19 - Comando Vermelho LS\n20 - Sons of Anarchy\n21 - Drifters\n 22 - Triads 23 - PCC LS\n24 - Groove SF\n25 - Vagos SF\n26 - PCC SF\n27 - Mйdicos SF\n28 - Comando Vermelho SF\n29 - Ballas SF\n30 - Prefeito SF\n31 - Aztecas SF\n32 - San Fierro News\n33 - Taxista SF\n34 - Policia Militar SF\n35 - Rotam SF
Sou Newba em pawn poderiam criar e explicar as funзхes?
esse й o /orgs original que nгo й em dialog
pawn Код:
if(strcmp(cmd, "/orgs", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, VERDE2, "|__________________________ Orgs __________________________|");
format(string, 128, " 1 - Policia Militar LS: %s", InfoOrg[1][Lider]);
SendClientMessage(playerid, COR_PM, string);
format(string, 128, " 2 - Rotam: %s", InfoOrg[2][Lider]);
SendClientMessage(playerid, COR_ROTAM, string);
format(string, 128, " 3 - Forзas Armadas: %s", InfoOrg[3][Lider]);
SendClientMessage(playerid, COR_EXE, string);
format(string, 128, " 4 - Mйdicos LS: %s", InfoOrg[4][Lider]);
SendClientMessage(playerid, COR_MEDE, string);
format(string, 128, " 5 - Aztecas LS: %s", InfoOrg[5][Lider]);
SendClientMessage(playerid, COR_AZTECAS, string);
format(string, 128, " 6 - Guerrilheiros Israelitas: %s", InfoOrg[6][Lider]);
SendClientMessage(playerid, COR_GI, string);
format(string, 128, " 7 - Prefeito LS: %s", InfoOrg[7][Lider]);
SendClientMessage(playerid, COR_PRE, string);
format(string, 128, " 8 - Hitmans: %s", InfoOrg[8][Lider]);
SendClientMessage(playerid, COR_HITMAN, string);
format(string, 128, " 9 - Los Santos News: %s", InfoOrg[9][Lider]);
SendClientMessage(playerid, COR_REP, string);
format(string, 128, " 10 - Taxista: %s", InfoOrg[10][Lider]);
SendClientMessage(playerid, COR_TAXI, string);
format(string, 128, " 11 - Policia Federal: %s", InfoOrg[11][Lider]);
SendClientMessage(playerid, COR_PF, string);
format(string, 128, " 12 - Mбfia Cosa Nostra: %s", InfoOrg[12][Lider]);
SendClientMessage(playerid, COR_COSA, string);
format(string, 128, " 13 - Mбfia Yakuza: %s", InfoOrg[13][Lider]);
SendClientMessage(playerid, COR_YAK, string);
format(string, 128, " 14 - Groove LS: %s", InfoOrg[14][Lider]);
SendClientMessage(playerid, COR_GRO, string);
format(string, 128, " 15 - F.A.R.C: %s", InfoOrg[15][Lider]);
SendClientMessage(playerid, COR_FARC, string);
format(string, 128, " 16 - Policia Civil: %s", InfoOrg[16][Lider]);
SendClientMessage(playerid, COR_PC, string);
format(string, 128, " 17 - Ballas LS: %s", InfoOrg[17][Lider]);
SendClientMessage(playerid, COR_BALLAS, string);
format(string, 128, " 18 - Vagos LS: %s", InfoOrg[18][Lider]);
SendClientMessage(playerid, COR_VAGOS, string);
format(string, 128, " 19 - Comando Vermelho LS: %s", InfoOrg[19][Lider]);
SendClientMessage(playerid, 0xF6000000, string);
format(string, 128, " 20 - Sons of Anarchy: %s", InfoOrg[20][Lider]);
SendClientMessage(playerid, COR_SONS, string);
format(string, 128, " 21 - Drifters: %s", InfoOrg[21][Lider]);
SendClientMessage(playerid, COR_DRIFT, string);
format(string, 128, " 22 - Triads: %s", InfoOrg[22][Lider]);
SendClientMessage(playerid, COR_TRIADS, string);
format(string, 128, " 23 - PCC LS: %s", InfoOrg[23][Lider]);
SendClientMessage(playerid, COR_PCC, string);
format(string, 128, " 24 - Groove SF: %s", InfoOrg[24][Lider]);
SendClientMessage(playerid, COR_GRO, string);
format(string, 128, " 25 - Vagos SF: %s", InfoOrg[25][Lider]);
SendClientMessage(playerid, COR_VAGOS, string);
format(string, 128, " 26 - PCC SF: %s", InfoOrg[26][Lider]);
SendClientMessage(playerid, COR_PCC, string);
format(string, 128, " 27 - Mйdicos SF: %s", InfoOrg[27][Lider]);
SendClientMessage(playerid, COR_MEDE, string);
format(string, 128, " 28 - Comando Vermelho SF: %s", InfoOrg[28][Lider]);
SendClientMessage(playerid, 0xF6000000, string);
format(string, 128, " 29 - Ballas SF: %s", InfoOrg[29][Lider]);
SendClientMessage(playerid, COR_BALLAS, string);
format(string, 128, " 30 - Prefeito SF: %s", InfoOrg[30][Lider]);
SendClientMessage(playerid, COR_PRE, string);
format(string, 128, " 31 - Aztecas SF: %s", InfoOrg[31][Lider]);
SendClientMessage(playerid, COR_AZTECAS, string);
format(string, 128, " 32 - San Fierro News: %s", InfoOrg[32][Lider]);
SendClientMessage(playerid, COR_REP, string);
format(string, 128, " 33 - Taxista SF: %s", InfoOrg[33][Lider]);
SendClientMessage(playerid, COR_TAXI, string);
format(string, 128, " 34 - Policia Militar SF: %s", InfoOrg[34][Lider]);
SendClientMessage(playerid, COR_PM, string);
format(string, 128, " 35 - Rotam SF: %s", InfoOrg[35][Lider]);
SendClientMessage(playerid, COR_ROTAM, string);
}
return true;
}