How to make a buyable Item
#2

1st create a dialog with the items for sell.
2nd ondialogresponse check which item they chose then set their money acording to the item price.
3rd set a player variable for the item to 1 so you know he bought it, something like this OwnedItems[playerid][boughtitem]= true;
4th if it's a item like a gun or a car or anything that might be seen you might want to spawn it, check samp wiki for those functions.

Make use of samp wiki for all the functions you might need.
Reply


Messages In This Thread
How to make a buyable Item - by NNek - 15.06.2014, 23:43
Re: How to make a buyable Item - by Kimossab - 15.06.2014, 23:52
Re: How to make a buyable Item - by NNek - 15.06.2014, 23:54
Re: How to make a buyable Item - by Cutt3r - 15.06.2014, 23:56

Forum Jump:


Users browsing this thread: 1 Guest(s)