27.04.2013, 02:20
Porque em dialog esse codigo funciona e no /saldo nгo?
pawn Код:
if(strcmp(cmd, "/saldo", true) == 0) {
new PName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PName, sizeof(PName));
format(string, sizeof(string), "Seu saldo й {00FF00}'R$: %d'",dini_Int(file, "SaldoBancario"));
ShowPlayerDialog(playerid, 200, DIALOG_STYLE_MSGBOX, "Saldo",string,"Ok","Fechar");
}

