Using deprecated hook 'OnPlayerCorpse'Fixed
'NPCDropGun v2.0.4' is using deprecated hook 'OnPlayerCorpse', which will stop working on Friday, 01 January 2021. Please ask the author to update to 'OnPlayerCorpseSpawned(BasePlayer player, BaseCorpse corpse)'

(04:55:01) | 'NPCDropGun v2.0.4' is using deprecated hook 'OnPlayerCorpse', which will stop working on Friday, 01 January 2021. Please ask the author to update to 'OnPlayerCorpseSpawned(BasePlayer player, BaseCorpse corpse)'

this was spit out of the console today. 

'NPCDropGun v2.0.4' is using deprecated hook 'OnPlayerCorpse', which will stop working on Friday, 01 January 2021. Please ask the author to update to 'OnPlayerCorpseSpawned(BasePlayer player, BaseCorpse corpse)'

(08:09:20) | 'NPCDropGun v2.0.4' is using deprecated hook 'OnPlayerCorpse', which will stop working on Friday, 01 January 2021. Please ask the author to update to 'OnPlayerCorpseSpawned(BasePlayer player, BaseCorpse corpse)'

just edit the plugin file as text by yourself

it simple

line 41

OnPlayerCorpse

to

OnPlayerCorpseSpawned

ENTERLY

just edit the plugin file as text by yourself

it simple

line 41

OnPlayerCorpse

to

OnPlayerCorpseSpawned

that's it just edit line 41 I can do that.

is it ..

BasePlayer player, playerCorpse corpse

or

BasePlayer player, baseCorpse corpse?

you say to add the spawned part at the end of the first part, but im confused here. can you be more specific?

also... i updated the latest oxide and now its not giving me the config file for anything.

5eda1f347a304.png LizardMods

that's it just edit line 41 I can do that.

I tried messing with it today. the changes to line 41 did absolutely nothing. I got absolutely nowhere with one exception. don't have the guys drop in the inventory. 
if you do that the plug-in works. 

This plugin doesnt add anything to Corpse. I see the other post saying to just change line 41 to 'OnPlayerCorpseSpawned(BasePlayer player, BaseCorpse corpse)' but it breaks the plugin even more. Can some Share the fix or help me out to get it to work?

Thanks

'NPCDropGun v2.0.4' is using deprecated hook 'OnPlayerCorpse', which will stop working on Thursday, 01 July 2021. Please ask the author to update to 'OnPlayerCorpseSpawned(BasePlayer player, BaseCorpse corpse)'

in plugin file "NPCDropGun.cs" on line 41 change "OnPlayerCorpse" to "OnPlayerCorpseSpawned"

Locked automatically