[AJUDA]Dialog - 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]Dialog (
/showthread.php?tid=310509)
[AJUDA]Dialog -
[KnD]Ghost_.x[X]x - 12.01.2012
Iawe Galera.. Tou com um Problema No Meu Comando /admins em Dialog, Seguinte.. Quando eu Digito /admin Nгo Aparece Nada Alguem Ajuda? Aki o Cod:
pawn Код:
if(strcmp(cmd, "/test", true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][cAdmin] >= 1 && PlayerInfo[i][cAdmin] < 10) // O variable tuya..
{
new stringcat[700];
format(msg, sizeof(msg), "Admin: %s | Level: %d", Name(i), PlayerInfo[i][cAdmin]);
ShowPlayerDialog(playerid, DialogComandos, DIALOG_STYLE_MSGBOX, "Comandos...", stringcat, "Ok", " ");
}
}
}
return 1;
}
Me Ajudo? +REP
Re: [AJUDA]Dialog -
Cristhian - 12.01.2012
pawn Код:
if(strcmp(cmd, "/test", true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][cAdmin] >= 1 && PlayerInfo[i][cAdmin] < 10) // O variable tuya..
{
new stringcat[100];
format(stringcat, sizeof(stringcat), "Admin: %s | Level: %d", Name(i), PlayerInfo[i][cAdmin]);
ShowPlayerDialog(playerid, DialogComandos, DIALOG_STYLE_MSGBOX, "Comandos...", stringcat, "Ok", " ");
}
}
}
return 1;
}
Re: [AJUDA]Dialog -
[KnD]Ghost_.x[X]x - 12.01.2012
Vlw Funfo ^^ REP
Re: [AJUDA]Dialog -
Ghost_ - 12.01.2012
Nao confundam o Ghost_.x[X]x comigo, й outro ser.