22.09.2013, 14:27
Quote:
Make sure the dialogid of hp is not an id is used by another dialog and that OnDialogResponse returns 0 at the end.
|
Sure, here it is:
pawn Код:
OnPlayerPickupPickup(playerid, pickupid)
{
if(pickupid == hp)
{
ShowPlayerDialog(playerid, 558, DIALOG_STYLE_MSGBOX, "{FF0000}Health-Refill", "{FFFFFF}Are you sure that you wish to refill your {FF0000}health{FFFFFF} to 100, for 1,500$?", "Refill", "");
}
return 1;
}