09.01.2011, 17:29
Every time I type this command:
It appears that the server:
This only started after I changed by DIALOG_STYLE_MSGBOX DIALOG_STYLE_LIST ...
pawn Код:
if(strcmp(cmd, "/infoorg", true) == 0)
{
new strdialog[500];
if (PlayerToPoint(3, playerid,251.5544,117.6165,1003.2188))
{
format(Vaga1,sizeof(Vaga1),"%s",dini_Get("/Infoorg/PM/Vagas.txt","Vaga1"));
format(Vaga2,sizeof(Vaga2),"%s",dini_Get("/Infoorg/PM/Vagas.txt","Vaga2"));
format(Vaga3,sizeof(Vaga3),"%s",dini_Get("/Infoorg/PM/Vagas.txt","Vaga3"));
format(Vaga4,sizeof(Vaga4),"%s",dini_Get("/Infoorg/PM/Vagas.txt","Vaga4"));
format(Vaga5,sizeof(Vaga5),"%s",dini_Get("/Infoorg/PM/Vagas.txt","Vaga5"));
format(Vaga6,sizeof(Vaga6),"%s",dini_Get("/Infoorg/PM/Vagas.txt","Vaga6"));
format(Vaga7,sizeof(Vaga7),"%s",dini_Get("/Infoorg/PM/Vagas.txt","Vaga7"));
format(Vaga8,sizeof(Vaga8),"%s",dini_Get("/Infoorg/PM/Vagas.txt","Vaga8"));
format(Lider,sizeof(Lider),"%s",dini_Get("/Infoorg/PM/Vagas.txt","Lider"));
format(strdialog, sizeof(strdialog),"Lider:%s\nVaga 1:%s\nVaga 2:%s\nVaga 3:%s\nVaga 4:%s\nVaga 5:%s\nVaga 6:%s\nVaga 7:%s\nVaga 8:%s",Lider,Vaga1,Vaga2,Vaga3,Vaga4,Vaga5,Vaga6,Vaga7,Vaga8);
ShowPlayerDialog(playerid, infoKeller1, DIALOG_STYLE_LIST, "{FF6600}Policia Militar - Infoorg[TERRA:RPG]", strdialog, "Ok", "Sair");
}
return 1;
}
This only started after I changed by DIALOG_STYLE_MSGBOX DIALOG_STYLE_LIST ...