07.10.2012, 01:13
As example
pawn Код:
new
tmp[256],
Float: health,
Float: armour
;
GetPlayerHealth(playerid, health);
GetPlayerArmour(playerid, armour);
format(tmp, sizeof tmp, "\
Playerid: %d\n\
Health: %f\n\
Armour: %f\n\
Money: %d\n\
",
playerid,
health,
armour,
money
);
// Second button gets removed if you dont specify a text
ShowPlayerDialog(playerid, 8523, DIALOG_STYLE_MSGBOX, "Status", tmp, "Close", "");