Author Topic: More RPG Help  (Read 694 times)

In short: How can I make it so that once a player picks up a key, that key stays in his inventory even if he dies?

So it will only be able to go out of his inventory if he drops it or leaves the server?



Could be done if you change the key script.

You should ask in coding help though

So it's not possible without changing the key script?

I can't just make it stay in that player's inventory?

So it's not possible without changing the key script?
well, you could make a script that checks, when a player dies, if he has a key in his inventory. When he has, the script should add a new key to him when he spawns.

But unfortunately I don't know how to script that

stuff. But here's how I see it

Main minigame
------------------
None
None
None
None
None

Player with key
--------------------
Key
None
None
None
None

Something like ModifyClientInventory event or something? So it will just change that palyer's inventory, which will always stay like that?

Bump yet again, maybe I should make a topic in help.