Borchmpq Posted August 12, 2018 Posted August 12, 2018 На бг бывает когда убивают, не могу покинуть тело, либо ливать, либо ждать конца
LurtexEU Posted August 12, 2018 Posted August 12, 2018 Играю с 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") и таких проблем нет)
фростик Posted August 13, 2018 Posted August 13, 2018 Играю с 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") и таких проблем нет) и думаешь он понял?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now