Snakeman Posted January 19, 2017 Share Posted January 19, 2017 (edited) I tried with some codes but not working local Player = getSpecificPlayer(0); local Item = Player:getPrimaryHandItem(); if (instanceof(Item, "Food") and Item:getType() == "Bass") then if Item ~= nil and Item:IsRotten() then luautils.okModal("YES", true); else luautils.okModal("NO", true); end end --SOLVED!!!! Edited January 19, 2017 by Snakeman Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now