Variable.
#4

pawn Код:
ShowPlayerDialog(playerid, 45, DIALOG_STYLE_INPUT, "Caption", "Enter the amount:", "Change", "Cancel");
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 45)
    {
        if(response)
        {
            new Float:amount = strval(inputtext);
            Gas = amount;
        }
    }
    return 1;
}
Reply


Messages In This Thread
Variable. - by budelis - 03.11.2012, 19:12
Re: Variable. - by HyDrAtIc - 03.11.2012, 19:13
Re: Variable. - by budelis - 03.11.2012, 19:15
AW: Variable. - by Skimmer - 03.11.2012, 19:32
Re: Variable. - by budelis - 03.11.2012, 20:11
Re: Variable. - by Vince - 03.11.2012, 20:21
Re: Variable. - by budelis - 04.11.2012, 06:54
Re: Variable. - by PrawkC - 04.11.2012, 08:19

Forum Jump:


Users browsing this thread: 1 Guest(s)