04-10-2021, 12:57 AM
(04-09-2021, 08:17 PM)tigerw Wrote: I believe the code dealing with clearing inventory on death is in Player.cpp KilledBy
That's super helpful to know!
My initial idea was to use HOOK_KILLING to save the player's inventory on a variable or something and restore it on HOOK_PLAYER_SPAWNED or something hahah!
I guess I'll have to put my hands on C++ afterall
...which will be an interesting challenge since I've never programmed in C++ before!