balance

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

skanto123

Active Member
Jan 8, 2018
70
0
0
command /shockwave1:
permission: permission.shockwave1
permission message: &cNo Permission!
trigger:
if player's balance is greater than 2000000:
remove 2000000 from player's balance
make console execute command "shockwave give %player% pickaxe 3"
send "&c&l-2,000,000"
else:
send "&cYou do not have enough money to purchase this item!"

I get errors http://prntscr.com/i6q6ja It says player's balance is not an entity type
 
hmm, I don't get this error when I reload your skript
55456e1aa4.jpg

"if player's balance is greater than 2000000" is a vanilla skript expression to my knowledge. Are you on the latest Bensku version?
 
I will check do you have any addons maybe?
hmm, I don't get this error when I reload your skript
55456e1aa4.jpg

"if player's balance is greater than 2000000" is a vanilla skript expression to my knowledge. Are you on the latest Bensku version?
 
Remember that you need Vault and a Vault-compatible economy plugin such as Fe or iEconomy to use the money expressions in Skript.
I downloaded the latest version of Bensku skript and it fixed the problem the skript was loading with no errors but when I try to do the command the command dosnt exist??
 
I downloaded the latest version of Bensku skript and it fixed the problem the skript was loading with no errors but when I try to do the command the command dosnt exist??
Be sure it saved properly and that the one you are using matches the on in your skript. And that you have an eco plugin like Snow says:3 After that I'd give it another restart and try again.
 
Status
Not open for further replies.