Jump to content
ThyHolyNoodle

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

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

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.

Guest
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.

Loading...

×
×
  • Create New...