Blockland Forums > Help

Event help

Pages: (1/2) > >>

Mr.LoLHaX:

This is what I want to do.

If a person/player activates this brick he/she gets an item but his/her score decreases.

Example:

You activate the brick and you get a that costs 30 points.

How would I do that?

Please list add-ons needed (if any) and the exact way on how to do (e.g. Onactivate>????>????>????)



Mr.LoLHaX:

Oh yeah and one more thing. If you don't have a high enough score, nothing happens.

Sebster 105:

Get V4 Variables[
Onplayertouch-player-ifplacerscore-GreaterEquals-[SCORE]

VariableTrue-Player-AddItems-[ITEM]
Variablefalse-Client-Centerprint- You don't have enough score!

Mr.LoLHaX:

Thanks man

Gadgethm:


--- Quote from: Sebster 105 on February 14, 2010, 02:28:54 PM ---Get V5 Variables[
Onplayertouch-VCE_IfValue-<var:cl:score>-GreaterEquals-[SCORE]

OnVariableTrue-Player-AddItems-[ITEM]
OnVariablefalse-Client-Centerprint- You don't have enough score!

--- End quote ---
Fixed.

Pages: (1/2) > >>

Go to full version