KeepInventory
#13
(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  Smile

...which will be an interesting challenge since I've never programmed in C++ before!
Reply
Thanks given by: tigerw


Messages In This Thread
KeepInventory - by mathwhiz1212 - 02-29-2016, 03:19 AM
RE: KeepInventory - by dodiaraculus17 - 03-01-2016, 02:24 AM
RE: KeepInventory - by mathwhiz1212 - 03-01-2016, 01:09 PM
RE: KeepInventory - by mathwhiz1212 - 03-28-2016, 10:37 AM
RE: KeepInventory - by mathwhiz1212 - 04-07-2016, 08:13 AM
RE: KeepInventory - by Schwertspize - 03-01-2016, 04:23 AM
RE: KeepInventory - by NiLSPACE - 04-07-2016, 07:47 PM
RE: KeepInventory - by psyFi - 08-07-2017, 05:42 AM
RE: KeepInventory - by afyber - 02-08-2018, 10:44 PM
RE: KeepInventory - by NiLSPACE - 02-09-2018, 05:23 PM
RE: KeepInventory - by HeCorr - 04-09-2021, 10:15 AM
RE: KeepInventory - by tigerw - 04-09-2021, 08:17 PM
RE: KeepInventory - by HeCorr - 04-10-2021, 12:57 AM



Users browsing this thread: 1 Guest(s)