No categories assigned

LUA:HasRecipeBook

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