Tell me if i am wrong:
onbotdeath>client>addVariable>money 1
That gives you money, you put this on the zombie/AI spawn (You need bot events for this)
For the shop: (Requires: VCE, Prompt Events, Add Item event)
onActivate>client>prompt>yes/no>Do you want to buy blah blah blah?
onPromptDecline>client>centerPrint>[Then get out!]
onPromptAccept>client>ifModVariable>money [Client] 10
onvariabletrue>player>addItem>blahblahblah
onvariabletrue>client>centerPrint>[You just got "Blah blah blah"]
onvariablefalse>client>centerPrint>[You need 10$ to get "Blah blah blah"]
Tell me if i got something wrong. or if you dont want prompt events:
onActivate>client>IfModVariable>money [Client] 10
onvariabletrue>player>addItem>blahblahblah
onvariabletrue>client>centerPrint>[You just got "Blah blah blah"]
onvariablefalse>client>centerPrint>[You need 10$ to get "Blah blah blah"]
You put 1 of those on a brick that sells.
What the result would be:
Light and Day zapped Bot with a LightandDay Zapper
I walk to the store
i see a brick with [?] on it,
(put events on [?]: onactivate>client>centerPrint>[!] will give you a "Blah blah blah")
I click the [?] brick, my screen says: [!] will give you a "Blah blah blah
>I click [!]
>a window pops up: Do you want to buy a "blah blah blah"? with yes and no botton on it
>i click no
>my screen says: Then get out!
>i click [!]
>I click yes
>It gives me a blah blah blah
>if i didn't have a 10 money
>my screen would say: Sorry, you need 10$ for "Blah blah blah"
Now lock it pop it due>a<break