Jump to content
Sign in to follow this  
Guest grashwandir

Add Context Option to Health Panel

Recommended Posts

Guest grashwandir


I'm new to PZ modding and I just want to practice with a mod regrouping some features I like in other mods.

For now, I'm trying to implement a Z-Cure as a syringe you can inject yourself or another player.

But I want it to be fully integrated (it's like a mini-challenge) so if you are infected AND you possess the cure, there will be a context option in the health panel to use it. Just like bandages or alcohol.


I know how to add context option : I already try teleport, item spawning, corpse removing...

But the main issue is : I can't find any event/hook related to health panel, so I just don't know how to modify its context options.


I don't see any of my code wich can be posted here (because it has nothing to do with the final result I want).

But if there is any, just tell me (fedora)


Please excuse my poor English, I'm just a froggy.



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...