Search the Community
Showing results for tags 'context'.
Found 2 results
Heya guys, Haven't asked advice here in a while but I hit a maddening snag. So, I am adding context menu options. It is adding the options to the context menu correctly but it runs (kinda) through the script while adding and does nothing when I try to click the option. Any thoughts?
Hello, 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 Please excuse my poor English, I'm just a froggy. Thanks!