#random kit
1 messages ยท Page 1 of 1 (latest)
If you want someone to make that for you head over to #job-board; this is a place for when you need help fixing an issue within your code that you made
oh it didnt send
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Why people using pastebin for it ๐๐
okay;
ive noticed some things.
line 7: what are you trying to do withon spawn? thats an event for when mobs spawn, but you are trying to use(event-)playerthere- please use else ifs in the function. you can also use lists to make that easier.
- you may want to clear the inventory before giving kits to avoid people keeping other items and having duplicates
line 139use else if
you here havent stated any errors so ive just pointed out things i noticed.
In the future always let people know what the problem is
and you can just send a snippet of code, no need for all of it.
ok ty
Iโm on phone and donโt feel like checking pastebin
heres an example of what I mean by lists for the kits:```set {_list::1::} to diamond, emerald, and potato
set {_list::2::} to diamond, emerald, and gold ingot
set {_list::3::} to diamond, potato, and gold ingot
set {_list::4::} to potato, emerald, and gold ingot
give {_p} {_list::%random integer from a to b%::*}```