SA-MP Forums Archive
[AJUDA] Gangs - 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] Gangs (/showthread.php?tid=325504)



[AJUDA] Gangs - .FuneraL. - 13.03.2012

Pessoal , Deem uma olhada nisso , Sabe quando domina um Territуrio ? Normalmente aparece:
[GZ]: [EoS]._SyntaX_.[BC] Tomou uma бrea Para a Gang: [ Gang ]

Sу que hб um problema , os nomes nгo estгo coincindindo com os que realmente sгo , Olhem o Code:

Nome das Gangs :
Код:
new nomegz[][24] = {
"Bozos",
"Gates",
"Grooves",
"Chineses",
"Aztecas",
"Vagos",
"Fazendeiros",
"Frangos",
"Surfistas",
"Lutadores",
"Girls Killers",
"AD Works",
"Mendigos",
"Militares",
"Serial Killers",
"Apostadores",
"Enslavers of Souls",
"Favelados",
"Padres",
"Putinhas",
"Nerds",
"Cientistas",
"Mercadores"
};
As Gangs Como Estгo Listadas :

Код:
new Bozo;
new Gates;
new Grooves;
new Chineses;
new Aztecas;
new Vagos;
new Fazendeiros;
new Frangos;
new Surfistas;
new Lutadores;
new Girlskillers;
new Gangadw;
new Mendigos;
new Militares;
new Serialkillers;
new Apostadores;
new Eos;
new Favelados;
new Padres;
new Putinhas;
new Nerds;
new Cientistas;
new Mercadores;
Parte da Public ZoneCheckPointchecker:

Код:
			} else if(cpzone[i][CPS_GetPlayerCheckpoint(i)] == 10) //passou 10 segundos dentro do checkpoint
            {
                new string[566];
                new pname[MAX_PLAYER_NAME];
                GetPlayerName(i, pname, 24);
                format(string, 566,"{00FF7F}[GZ]: {FFFFFF}%s {00FF7F}[ID: %d]{FFFFFF} Tomou uma Area Para a Gang: {00FF7F}[ %s ]", pname, i, nomegz[Gang[i]][i]);
                SendClientMessageToAll(0xFFFF00AA, string);
Se Hб Algum Erro , e alguem Puder Ajudar , Dou +Rep