[Pedido] Contar Player Na Gang - 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: [Pedido] Contar Player Na Gang (
/showthread.php?tid=438934)
Contar Player Na Gang -
eDlAndrePawno - 22.05.2013
/Gangs, um dialog, do jeito desse das orgs
Код:
if(strcmp(cmd, "/orgs", true) == 0 || strcmp(cmd, "/profs", true) == 0)
{
new DialogBPH[1500];
if(IsPlayerConnected(playerid))
{
format(string, 128, " {7AADFF}1 - Policia Militar:{FFFFFF} %s\n", InfoOrg[1][Lider]);
strcat(DialogBPH,string);
format(string, 128, " {ADC7D9}2 - Rotam:{FFFFFF} %s\n", InfoOrg[2][Lider]);
strcat(DialogBPH,string);
ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_LIST, "Lista de Lнderes das Organizaзхes", DialogBPH, "OK","OK");
}
return true;
}
mais quero que apareca apenas o Nome Da Gangue - Players Nela
OBS:Varias Tentativas e nada
Код:
format(string, 128, " {7AADFF}1 - Groove Street:{FFFFFF} 5 Jogadores\n", InfoOrg[1][Lider]);
strcat(DialogBPH,string);
e assim com as outras gangs..
Minhas Gangs sao definidas pelo gangteam
Код:
gangteam[0] // Groove
gangteam[1] // Ballas
Vlw, ajude quem quiser
Re: Contar Player Na Gang -
Delete_ - 22.05.2013
Incrementa +1 valor na variбvel:
new Var;
Var++;
printf("%i", Var);
Respuesta: Contar Player Na Gang -
eDlAndrePawno - 22.05.2013
Vlw, ja tenho uma base aqui
:O +Rep