Jump to content

Crate help


AKASGaming

Recommended Posts

For the rolling you could try to have a list that has the items in it, and each time it changes, remove the first item in the list and add it to the end.

For the giving of items you could make an I'd for the item and store the item given, the item shown, etc in a variable.

Link to comment
Share on other sites

  • 1 month later...

For points you could give the player an item such as paper with a name like "$1000" and when they right click it it gives them money.

on rightclick holding paper:
	if name of player's tool contains "Banknote":
		set {_amount::*} to name of the player's tool split at "$"
		set {_amt} to {_amount::2}
		execute console command "eco give %player% %{_amt}%"
		remove 1 of event-item from player's inventory

For this event, I use the name "Banknote $<amount>". The same concept can be applied to your points idea by replacing the "$" with another symbol and replacing "eco give %player% amount" with "add {_amt} to {points.%player%}"

 

Hopefully this helped 😄

 

izzzzthewiz

Discord: izzzzthewiz#3840

» IGN: _iZ_ «

» Joined: 12/18/2016 «

» VIP: 1/13/2018 «

» Helper: 1/29/2021 «

» [<3]: 5/8/2021 «

» Skript dev «

» Discord: iZz#0420 «

I have diabetes

React to this if I was helpful, found this interesting, or you're just nice 🙂

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...