Adding buyable cars
#7

you need to make cmdtext or
dcmd_vbuy whichever you used in your script i will go witg dcmd

and then put the same shop code as Fantje put above
this will make you a command /vbuy which players can use to buy vehicles you added for buying
i give demo below

Код:
new vehicleshopDialog;
dcmd_vbuy(playerid, params[])
{
#pragma unused playerid,params
ShowPlayerDialog(playerid,vehicleshopDialog,DIALOG_STYLE_LIST, "Vehicle Shop", "Stretch\nInfernus\nBullet\nSuper GT\nHotring Racer\nElegy\nSultan\nBF Injection\nJester\nCheetah", "Select", "Cancel");
    return 1;
}
and then put the "public OnDialogResponse" code as above Fantje given
Reply


Messages In This Thread
Adding buyable cars - by XYZero - 20.03.2015, 15:52
Re: Adding buyable cars - by Fantje - 20.03.2015, 15:58
Re: Adding buyable cars - by XYZero - 20.03.2015, 16:18
Re: Adding buyable cars - by Fantje - 20.03.2015, 17:38
Re: Adding buyable cars - by SickAttack - 20.03.2015, 17:43
Re: Adding buyable cars - by XYZero - 20.03.2015, 17:47
Re: Adding buyable cars - by Bester - 20.03.2015, 18:55
Re: Adding buyable cars - by XYZero - 20.03.2015, 19:42
Re: Adding buyable cars - by XYZero - 21.03.2015, 09:44
Re: Adding buyable cars - by mirou123 - 21.03.2015, 09:49

Forum Jump:


Users browsing this thread: 1 Guest(s)