Skip to content

CompletePlayerQuest

Finishes a quest for a player.

The HUD announces it unless silent; the quest moves to the journal’s done quests and its objectives stay as they are.

CompletePlayerQuest(pid, id [, silent])
Parameter Type
pid number the player
id number|string the quest’s id or key
silent boolean true = no HUD banner (optional)

boolean, string - accepted; the reason when not

SetPlayerQuestObjective(pid, ERRAND, 3, "done")
CompletePlayerQuest(pid, ERRAND)
GivePlayerMoney(pid, 50)

FailPlayerQuest · RemovePlayerQuest · the Quests group of the index