#how to make 1 item not drop and keep

1 messages · Page 1 of 1 (latest)

cloud heron
#

remove it from the drops

#

and give the item back using the respawn event. Might need to waitatick i dont remember

true remnant
cloud heron
#

im not writing the code for you

#

you can check the docs if you need to and try creating something

true remnant
cloud heron
#

send what you tried then

true remnant
cloud heron
#

those were my first messages

#

when a player dies, remove this item from the drops
and give it back when the respawn

true remnant
cloud heron
cloud heron
#

assuming you need this: https://skripthub.net/docs

true remnant
#

Tysm

true remnant
#

Could anyone else help that could actually give example of code

cloud heron
#

how about you give an example of what you tried writing

#

or what you found in the docs

true remnant
#

I’m fine Ty

cloud heron
#

then most probably you havent written anything and are trying to get someone to send an "example" you can copy-paste

true remnant
#

Why wouldn’t I want that?

#

And actually the stuff u sent I searched up on docs and shows up with nothing

cloud heron
#

you sure? because at least the death/respawn events should be very easy to find

true remnant
cloud heron
#

I search for "death" and the death event shows up for me

#

you just have to scroll, its like the 4th result

#

or filter for events

true remnant
#

U didn’t say search up death tho

#

Also I still don’t get how to write it

#

I need a custom item I made to stay in inventory and not drop

#

How does a death command help with that

#

So if u don’t know how to help don’t respond thanks

cloud heron
#
  1. Stop being rude or people wont want to help you
  2. Its a death event, not a command. Events are triggered when things happen in-game, like a player dying. You can use this event to detect when your code should be run and then run it.
  3. I told you to look at the docs for many things. Your project idea includes doing stuff when a player dies, so terms relating to death seem like good keywords to search for to me
  4. If you don't want to write any code, head over to the skunity forums where I believe there's a place you can pay someone to write these 6 lines
  • ||(or 7 lines depending if waitatick is needed for giving items in the respawn event, again, dont remember off the top of my head)||
true remnant
cloud heron
true remnant
#

Can’t u just tell me how to do it

cloud heron
#

I've been trying to tell you how. If your schedule is an issue, you should have budgeted more time to learn how to write some code in a new language

true remnant
#

Im he

#

Gd

cloud heron
true remnant
#

I’ll just wait for sm1 here or ask somewhere else thanks

cloud heron
#

I doubt anyone will spoon-feed you the code. While you're waiting, maybe go back to the docs and look at the examples there.
Good luck

true remnant
#

Ty

sudden crow
true remnant
#

Yeah bro tysm