Jump to content

Pacani cho eto


Borchmpq

Recommended Posts

Играю с

 

local frame = CreateFrame("Frame", "AutoRelease")

function eventHandler(self, event, arg1)

if event == "PLAYER_DEAD" then

local InstStat, InstType = IsInInstance();

if InstStat == 1 and InstType == "pvp" then

-- Check for soulstone

if not (HasSoulstone()) then

RepopMe();

end

end

return

end

end

frame:SetScript("OnEvent", eventHandler)

frame:RegisterEvent("PLAYER_DEAD")

 

и таких проблем нет)

Link to comment
Share on other sites

Играю с

 

local frame = CreateFrame("Frame", "AutoRelease")

function eventHandler(self, event, arg1)

if event == "PLAYER_DEAD" then

local InstStat, InstType = IsInInstance();

if InstStat == 1 and InstType == "pvp" then

-- Check for soulstone

if not (HasSoulstone()) then

RepopMe();

end

end

return

end

end

frame:SetScript("OnEvent", eventHandler)

frame:RegisterEvent("PLAYER_DEAD")

 

и таких проблем нет)

 

и думаешь он понял?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...