[DUV] /infovip sу aparece ultimo VIP - 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: [DUV] /infovip sу aparece ultimo VIP (
/showthread.php?tid=207748)
[DUV] /infovip sу aparece ultimo VIP -
Tomato_Atecubanos - 06.01.2011
Код:
if (strcmp("/infovip", cmdtext, true, 10) == 0 || strcmp("/infovips", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 1)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo tem autorizaзгo para usar esse comando.");
return 1;
}
for(new x=0; x<sizeof(VipInfo); x++)
{
if(strcmp(VipInfo[x][vNick],"Ninguem",true) != 0)
{
format(string, sizeof(string), "Vip ID:[%d]: %s Nнvel:[%d]\n", x, VipInfo[x][vNick], VipInfo[x][vTipo]);
ShowPlayerDialog(playerid, 7777, DIALOG_STYLE_LIST, "Vips do server", string, "Limparvaga", "Cancelar");
}
}
return 1;
}
~
Estou tentando criar um /infovip com dialog em lista, mas tem um problema, o dialog й criado, mas a lista, sу aparece o ъltimo VIP, nгo aparece os outros, e coloqueiu o \n na string, quero saber o que hб de errado ? :X
@EDIT:
aaa coloquei \n na frente e nada ! pronto ? '-'
Re: [DUV] /infovip sу aparece ultimo VIP -
Tomato_Atecubanos - 06.01.2011
aaa, coloquei \n na frente a nada, ¬¬
Re: [DUV] /infovip sу aparece ultimo VIP -
[FeK]Knife - 06.01.2011
Sem Double Post !
Re: [DUV] /infovip sу aparece ultimo VIP -
Ricop522 - 07.01.2011
Posta o seu VipInfo