#How make sell menu?

1 messages · Page 1 of 1 (latest)

unreal yarrow
#

I need to make NPC, who buys items from player

But idk how take item from player`s inventory, on wiki 0 info about it

carmine sparrow
#

nvm lol

unreal yarrow
ashen nexus
#

vanilla clear command, essentials clear command, checkitem expansion

#

not many

unreal yarrow
carmine sparrow
#

well then it depends on what item plugin u use

#

for example executable items have a take command

ashen nexus
#

And you should use it if it does!

carmine sparrow
#

i do

ashen nexus
#

Always use the plug-in specific command first, its easiest

carmine sparrow
#

i had to remake all my shop 🙄

ashen nexus
#

F

unreal yarrow
#

I can't find the math page

#

I want to multiply the sale price by two if the player has a permission

What math prefix do I need for this?

#

Or can i just put multiplication?

carmine sparrow
unreal yarrow
#

Where i can read about math functions for DM?

carmine sparrow
#

what you mean

unreal yarrow
# carmine sparrow what you mean

Where can I read about the functions and how they work?
Because I'm confused about
%math0, %math1, etc.

Any specific examples to see, multiplication, division

I have a class that costs $250.

I want it to be worth $500 if the player has a permissive

I mean, I just need to multiply by 2, but I can't figure out how the final function should look like a placeholder