Jump to content

I don't know what I am looking for can someone help?


ThyHolyNoodle

Recommended Posts

I have this lua file in the right place and am looking for functions like these

 

function Itemcool()
local inv = getPlayer():getInventory();
local player = getPlayer();

it = inv:FindAndReturn("MC.myfoods");

if it then
    getPlayer():Say("I have the cure");
    local BP;
    BP = player:getBodyDamage();
    BP:RestoreToFullHealth();
end
    
end

 

Events.OnFillInventoryObjectContextMenu.Add(invContextMenu);

 

in something like (help pls):

2019-06-16 (1).png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...