05.07.2014, 12:49
Hi guys please help me with something, I created a input style dialog
and I would like to get the amount of how much the player typed in there and make it take player cash for every gram, so far, i got this for OnDialogRespone:
[PAWN]if(dialogid == DRUG_SHOP_MENU && response == 1)
{
} [/[PAWN] Please help me i will +rep
pawn Код:
ShowPlayerDialog(playerid, DRUG_SHOP_MENU, DIALOG_STYLE_INPUT,"Buy drugs","Enter the amount of grams you would like to buy:","Buy","Close");
[PAWN]if(dialogid == DRUG_SHOP_MENU && response == 1)
{
} [/[PAWN] Please help me i will +rep