09.01.2011, 17:38
LoL 9 Formats
pawn Код:
if(strcmp(cmd, "/infoorg", true) == 0)
{
new strdialog[500];
if (PlayerToPoint(3, playerid,251.5544,117.6165,1003.2188))
{
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",dini_Get("/Infoorg/PM/Vagas.txt","Lider"),
dini_Get("/Infoorg/PM/Vagas.txt","Vaga1"),
dini_Get("/Infoorg/PM/Vagas.txt","Vaga2"),
dini_Get("/Infoorg/PM/Vagas.txt","Vaga3"),
dini_Get("/Infoorg/PM/Vagas.txt","Vaga4"),
dini_Get("/Infoorg/PM/Vagas.txt","Vaga5"),
dini_Get("/Infoorg/PM/Vagas.txt","Vaga6"),
dini_Get("/Infoorg/PM/Vagas.txt","Vaga7"),
dini_Get("/Infoorg/PM/Vagas.txt","Vaga8"));
ShowPlayerDialog(playerid, infoKeller1, DIALOG_STYLE_LIST, "{FF6600}Policia Militar - Infoorg[TERRA:RPG]", strdialog, "Ok", "Sair");
}
return 1;
}