Blockland Forums > Help

Prompt Client Not Working

Pages: (1/1)

Sentry:

I'm trying to make a weapon store for my Pirate DM and the prompt will not work.
It pops up the window but onpromptaccept/decline won't work.

Events I'm using on the brick.

--- Code: ---OnActivate > Self > PromptClient > Ok/Cancel > Would you like to buy this Bronze Sword for 0 points?
OnPromptAccept > Player > AddItem > BronzeSword
--- End code ---


Zeblote:

I think the promptclient event has a 3rd parameter

I think you are supposed to put the event that it triggers in there, seperated by commas

So if the onactivate is event 0, and the onpromptaccept is the event 1, you would put a 1 in the last box

Sentry:

Ok

Pages: (1/1)

Go to full version