Kaev
Super Moderator
Heyho, i need an example for the PlayerGossipEvent-hook
This is my code:
I think the red one is wrong, but i can't figure what "menu_id" i have to use for a player (or better a player corpse)
Thanks
This is my code:
Code:
local function talk(event, player, object)
player:SendBroadcastMessage("test")
end
RegisterPlayerGossipEvent([COLOR="#FF0000"]1[/COLOR], 1, talk)
I think the red one is wrong, but i can't figure what "menu_id" i have to use for a player (or better a player corpse)
Thanks