can help me ?
i´m well inport timer of spawn.
also time vor next spawn npc, one spawn and next spawn is in 1 minute
thx
i´m well inport timer of spawn.
also time vor next spawn npc, one spawn and next spawn is in 1 minute
Code:
local function rechte11(event, player)
local result = AuthDBQuery("SELECT id FROM account WHERE pinfo=1 and id = "..player:GetAccountId())
if (result) then
end
end
local function spielchat11(event, player, msg, _, lang)
local result = AuthDBQuery("SELECT id FROM account WHERE pinfo=1 and id = "..player:GetAccountId())
if (msg == "fsdfsdf") then -- Use #premium for sending the gossip menu
if (result) then
player:SpawnCreature(999924, player:GetX(), player:GetY(), player:GetZ(), player:GetO(), 3, 20000)
player:GossipComplete()
end
end
end
function menu11(event, player)
player:GossipClearMenu()
player:GossipMenuAddItem(0, "test", 0, 1, 0)
-- Room for more premium things
player:GossipSendMenu(1, player, 59)
end
if (intid == 1) then
player:GossipComplete()
end
RegisterPlayerEvent(3, rechte11) -- Register Event On Login
RegisterPlayerEvent(18, spielchat11) -- Register Evenet on Chat Command use
RegisterPlayerGossipEvent(59, 2, menu11) -- Register Event for Gossip Select
thx
Last edited by a moderator: