Forum: Lua/XML Help
03-17-23, 03:09 AM
|
Replies: 3
Views: 2,838
|
Forum: Lua/XML Help
03-15-23, 08:56 AM
|
Replies: 3
Views: 2,838
Zone id -> to zone name.
Hi, as in title, how that thing can be done?
For example i had zone id 7541 which is Stormheim, so how do i convert id to name?
I was tried GetRealZoneText(**id**) but it returns nothing.
|
Forum: Lua/XML Help
11-17-21, 04:24 AM
|
Replies: 2
Views: 3,657
Well i found solution...
If someone looking for something like that...
local function b()
local c = {year = 2022, month = 01, day = 01, hour = 00, min = 00, sec = 00}
local d = time(c)
return d
end
-- Compare...
|
Forum: Lua/XML Help
07-11-21, 03:24 PM
|
Replies: 2
Views: 3,657
Compare date
Hi i need to compare dates something like that:
local currentdate = date()
*01/09/21* *01/07/21*
if currentdate => *timespan or whatever* then
print('you should check site for...
|
Forum: Lua/XML Help
08-08-20, 06:04 AM
|
Replies: 1
Views: 5,407
Custom play sound
Yo, i need 2do just: PlaySoundFile("Interface\\AddOns\\Feral\\Core\\Sound\\CustomSoundNotFromWoW.ogg")
But im getting error: "PlaySoundFile Error - Invalid fileDataID for sound."
So how2play...
|
Forum: Lua/XML Help
07-04-20, 03:30 PM
|
Replies: 2
Views: 3,326
|
Forum: Lua/XML Help
07-04-20, 09:35 AM
|
Replies: 2
Views: 3,326
LF help with UIErrorsFrame:AddMessage
I my addon i have something like that:
UIErrorsFrame:AddMessage("Casted Cyclone on" .. UnitName("Target") .. "!!", 1.0, 2.0, 1.0, 53, 3);
Well i need help with next things:
1. How-to replace...
|