Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Hello all, I am trying to check if a player is on a quest during a string of gossip menus with an NP

[DiscordArchive] Hello all, I am trying to check if a player is on a quest during a string of gossip menus with an NP

[DiscordArchive] Hello all, I am trying to check if a player is on a quest during a string of gossip menus with an NP

rektbyfaith
Administrator
0
04-11-2022, 05:15 AM
#1
Archived author: Nelnamara • Posted: 2022-04-11T05:15:42.561000+00:00
Original source

Hello all, I am trying to check if a player is on a quest during a string of gossip menus with an NPC.

Trying:
If Player:HasQuest(questid) then
More code etc etc...

I am getting errors saying syntax error near Player...
Is this not meant to use with an if statement?
rektbyfaith
04-11-2022, 05:15 AM #1

Archived author: Nelnamara • Posted: 2022-04-11T05:15:42.561000+00:00
Original source

Hello all, I am trying to check if a player is on a quest during a string of gossip menus with an NPC.

Trying:
If Player:HasQuest(questid) then
More code etc etc...

I am getting errors saying syntax error near Player...
Is this not meant to use with an if statement?

rektbyfaith
Administrator
0
04-11-2022, 10:19 AM
#2
Archived author: Clotic • Posted: 2022-04-11T10:19:06.126000+00:00
Original source

Probably the capital P might be p instead. Error do be saying near Player so.
rektbyfaith
04-11-2022, 10:19 AM #2

Archived author: Clotic • Posted: 2022-04-11T10:19:06.126000+00:00
Original source

Probably the capital P might be p instead. Error do be saying near Player so.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)