Difference between revisions of "LUA:HasRecipeBook"

(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> ...")
 
(No difference)

Latest revision as of 12:37, 29 September 2013

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