Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Help
»
If palyer doesnt have enough points to get item
« previous
next »
Print
Pages: [
1
]
Author
Topic: If palyer doesnt have enough points to get item (Read 729 times)
blueghost
October 17, 2009, 11:58:06 AM
i know how to script where the playergives 50 poin ts for somthings but what if they dont have enough points to buy item? i know theres a addon or somthing but i dont know where to find plz help
Ad Bot
Advertisement
Deriboy
October 17, 2009, 12:10:08 PM
IF
Space Guy
October 17, 2009, 12:11:25 PM
Variable events, then <var:client:score> or something.
Deriboy
October 17, 2009, 12:12:14 PM
Wait, are you talking about events? Because you have another topic involving events.
If so, use variable events.
Deriboy
October 17, 2009, 12:12:40 PM
Aww crap, space guy beat me to it. D:
blueghost
October 17, 2009, 01:35:03 PM
muhahaha he did
Killbunny
October 28, 2009, 07:17:06 PM
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
October 28, 2009, 08:06:47 PM
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
October 29, 2009, 03:31:32 AM
Quote from: Killbunny on October 28, 2009, 07:17:06 PM
old (better)
What.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Help
»
If palyer doesnt have enough points to get item