No categories assigned

LUA:HasRecipeBook

Revision as of 12:37, 29 September 2013 by Thefoof (talk | contribs) (Created page with "'''Explanation'''<br> This function will check a player to see if they have a recipe book scribed and return true or false. '''Syntax'''<br> HasRecipeBook(Player, item_id)<br> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Explanation
This function will check a player to see if they have a recipe book scribed and return true or false.


Syntax
HasRecipeBook(Player, item_id)


Example

function hailed(NPC, Spawn)
    if HasRecipeBook(Spawn, 30000)
        Say(NPC, "you have recipe book 30000!")
    end
end



Back to LUA Functions