Jump to content
  • 0

Multi Shop with announcer


behemothcze

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.02
  • Content Count:  102
  • Reputation:   2
  • Joined:  02/24/17
  • Last Seen:  

currently using Emistry multi currency shop how to add announce on it when player buy something thanks in advance been trying to put announce on it for days lol .
credits to emistry since this multi shop shop is so easy to use.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1677
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

message strcharinfo(0),"Purchased "+getarraysize( @bought_nameid )+" Items.";
			mes "Thank you for shopping.";

this where the player finish the buying

so put the announcer line here and it should work

the items id is an array @bought_nameid[]

and the items count is array @bought_quantity[]

to get the item name getitemname(@bought_nameid[])

ofc you can do anything if you know the command for it

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...