[DiscordArchive] Server or client side?
[DiscordArchive] Server or client side?
Archived author: conFIGured • Posted: 2022-03-27T15:04:33.015000+00:00
Original source
hmmm
Archived author: Foe • Posted: 2022-03-27T15:04:43.849000+00:00
Original source
you just supply that with the item link, which you only need the entry ID for
Archived author: Foe • Posted: 2022-03-27T15:04:59.061000+00:00
Original source
it then returns a table containing all the stats of the item
Archived author: Foe • Posted: 2022-03-27T15:05:33.756000+00:00
Original source
you can either get the entry ID from the server, or you can get it directly from the item slot
Archived author: Foe • Posted: 2022-03-27T15:07:43.516000+00:00
Original source
```var stats = {}
GetItemStats("item:41002", stats)```
Archived author: MasterUnknown • Posted: 2022-03-27T15:08:07.402000+00:00
Original source
ill try that mate
Archived author: Nelnamara • Posted: 2022-03-27T15:08:18.591000+00:00
Original source
You give me far to much credit.
Archived author: Foe • Posted: 2022-03-27T15:08:32.752000+00:00
Original source
what's your gossip function called
Archived author: Nelnamara • Posted: 2022-03-27T15:08:53.666000+00:00
Original source
function Bigglesworth.Hello(event, player, object)
Archived author: Foe • Posted: 2022-03-27T15:09:29.221000+00:00
Original source
```Lua
local EmoteId = 0
local CreatureId = 0
local function OnEmote(event, player, emote)
print(emote)
if(emote == EmoteId) then
local target = player:GetSelection():ToCreature()
if(target and target:GetEntry() == CreatureId) then
Bigglesworth.Hello(_, player, target)
end
end
end
RegisterPlayerEvent(24, OnEmote)```