Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] How could I check how many items a player has in their inventory?

[DiscordArchive] How could I check how many items a player has in their inventory?

[DiscordArchive] How could I check how many items a player has in their inventory?

rektbyfaith
Administrator
0
04-16-2020, 05:21 PM
#1
Archived author: Kitzunu • Posted: 2020-04-16T17:21:11.561000+00:00
Original source

How could I check how many items a player has in their inventory?
rektbyfaith
04-16-2020, 05:21 PM #1

Archived author: Kitzunu • Posted: 2020-04-16T17:21:11.561000+00:00
Original source

How could I check how many items a player has in their inventory?

rektbyfaith
Administrator
0
04-16-2020, 06:22 PM
#2
Archived author: Kitzunu • Posted: 2020-04-16T18:22:24.058000+00:00
Original source

I want to output it in a PSendSysMessage
rektbyfaith
04-16-2020, 06:22 PM #2

Archived author: Kitzunu • Posted: 2020-04-16T18:22:24.058000+00:00
Original source

I want to output it in a PSendSysMessage

rektbyfaith
Administrator
0
04-16-2020, 08:13 PM
#3
Archived author: Kito • Posted: 2020-04-16T20:13:29.686000+00:00
Original source

> HasItemCount(itemId, count)
rektbyfaith
04-16-2020, 08:13 PM #3

Archived author: Kito • Posted: 2020-04-16T20:13:29.686000+00:00
Original source

> HasItemCount(itemId, count)

rektbyfaith
Administrator
0
04-16-2020, 08:13 PM
#4
Archived author: Kito • Posted: 2020-04-16T20:13:51.236000+00:00
Original source

Or iterate over the whole inventory or something LUL
rektbyfaith
04-16-2020, 08:13 PM #4

Archived author: Kito • Posted: 2020-04-16T20:13:51.236000+00:00
Original source

Or iterate over the whole inventory or something LUL

rektbyfaith
Administrator
0
04-16-2020, 08:17 PM
#5
Archived author: Kitzunu • Posted: 2020-04-16T20:17:21.768000+00:00
Original source

sure, but isn't it a fixed values in count?
rektbyfaith
04-16-2020, 08:17 PM #5

Archived author: Kitzunu • Posted: 2020-04-16T20:17:21.768000+00:00
Original source

sure, but isn't it a fixed values in count?

rektbyfaith
Administrator
0
04-16-2020, 08:39 PM
#6
Archived author: Kito • Posted: 2020-04-16T20:39:41.419000+00:00
Original source

Well yea... I dont know ur case. Maybe u can find another function or iterate over the inventory
rektbyfaith
04-16-2020, 08:39 PM #6

Archived author: Kito • Posted: 2020-04-16T20:39:41.419000+00:00
Original source

Well yea... I dont know ur case. Maybe u can find another function or iterate over the inventory

rektbyfaith
Administrator
0
04-16-2020, 08:39 PM
#7
Archived author: Kito • Posted: 2020-04-16T20:39:46.691000+00:00
Original source

I have one tip for you tho
rektbyfaith
04-16-2020, 08:39 PM #7

Archived author: Kito • Posted: 2020-04-16T20:39:46.691000+00:00
Original source

I have one tip for you tho

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