No categories assigned
LUA:HasQuest
- Last edited 12 years ago by I need to Update My Profile
Returns a true or false if a player has a quest.
Syntax
HasQuest(Spawn, QuestID)
Usage
function hailed(NPC, Spawn)
if HasQuest(Spawn, 1) then
Example()
end
end
This runs the function "Example" when an npc is hailed if a player has the quest with an ID of 1.