Blockland Forums > Help
If palyer doesnt have enough points to get item
<< < (2/2)
blueghost:
muhahaha he did
Killbunny:
http://www.mediafire.com/download.php?wmnmhyfnmzd
That's the old (better) variable/conditional events.
Here's what to do.

onActivate - Self - ifVariable: "Gold" (GreaterEquals) [5]
variableTrue - Client - addVariable: "Gold" [-5]
variableTrue - Player - addItem: "Sword"
variableTrue - Client - CenterPrint: "Have a nice day!"
variableFalse - Client - CenterPrint: "You don't have enough gold!"
Killbunny:
My bad.

onActivate - Self - ifVariable: (CLIENT) "Gold" (GreaterEquals) [5]
variableTrue - Client - addVariable: "Gold" [-5]
variableTrue - Player - addItem: "Sword"
variableTrue - Client - CenterPrint: "Have a nice day!"
variableFalse - Client - CenterPrint: "You don't have enough gold!"
Space Guy:

--- Quote from: Killbunny on October 28, 2009, 08:17:06 PM ---old (better)

--- End quote ---
What.
Navigation
Message Index
Previous page

Go to full version