How to make a buyable Item
#1

any one can help me to make a buyable Item? with edit menu
Reply
#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
#3

Thanks!! Btw How i can Change!! Map player color
Reply
#4

Quote:
Originally Posted by PiIIoW
Посмотреть сообщение
Thanks!! Btw How i can Change!! Map player color
pawn Код:
SetPlayerColor(playerid, COLOR);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)