#how to make 1 item not drop and keep
1 messages · Page 1 of 1 (latest)
could u give a example of how in code please
im not writing the code for you
you can check the docs if you need to and try creating something
alr tried but ig ill wait for sm1 else
send what you tried then
Idk where it is I tried random things can u send what I should do
those were my first messages
when a player dies, remove this item from the drops
and give it back when the respawn
Yeah but idk how to do that icl
so look through the docs for
- events
- detect when a player dies/respawns
- effect to give a player an item
- an expression for the items dropped on death
- and a way to remove your item from this
Alr Ty I’ll try
assuming you need this: https://skripthub.net/docs
Tysm
Yeah I tried couldn’t do anything
Could anyone else help that could actually give example of code
how about you give an example of what you tried writing
or what you found in the docs
I’m fine Ty
then most probably you havent written anything and are trying to get someone to send an "example" you can copy-paste
Why wouldn’t I want that?
And actually the stuff u sent I searched up on docs and shows up with nothing
you sure? because at least the death/respawn events should be very easy to find
- you're exploiting someone
- https://x8ight.gitbook.io/syntask/issues/peer-help/spoon-feeding
How am I exploiting somoene
Searched up exactly what u sent and didn’t come up with anything
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
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
- Stop being rude or people wont want to help you
- 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.
- 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
- 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
is needed for giving items in the respawn event, again, dont remember off the top of my head)||
- Not being rude 2. I’m new to coding and don’t know how to do all that stuff so was hoping for help
You are being rude, and the best way to get better is to practice and try (because if you never try you also never succeed)
If you have never coded at all before, you can probably find some tutorials helpful too;
https://sovdee.gitbook.io/skript-tutorials
https://x8ight.gitbook.io/syntask/beginners-corner
Also I wanna make a smp and release on Sunday and don’t wanna spend ages on sming I don’t know
Can’t u just tell me how to do it
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
If you want to learn how to create things in skript, this is a good starting point.
Otherwise, as I said earler, see the skunity forums for a commision
I’ll just wait for sm1 here or ask somewhere else thanks
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
Ty
Did you read my dms?
Yeah bro tysm