KaydenSonic

KaydenSonic 1.3

  • Thread starter KaySonicTheHedgehog
  • Start date

Attachments

  • CL_KaydenSonic-v1.0 copy.pk3
    35.3 MB · Views: 49
ye at the very top

OLD
Code:
if (VERSION == 202) and (SUBVERSION < 14)
    local function blackout(v)
        v.drawFill()
        v.drawString(160, 100, ("this mod requires version 2.2.14 or higher"),V_REDMAP, "center")
    end
    hud.add(blackout, "title")
    hud.add(blackout, "game")
    error("Your copy of 2.2 is obsolete and not compatible with this mod. Please update to version 2.2.14 or higher.", 0)
end

local function SafeFreeslot(...)
    for _, item in ipairs({...})
        if rawget(_G, item) == nil
            freeslot(item)
        end
    end
end

NEW
Code:
if (VERSION == 202) and (SUBVERSION < 13)
    local function blackout(v)
        v.drawFill()
        v.drawString(160, 100, ("this mod requires version 2.2.13 or higher"),V_REDMAP, "center")
    end
    hud.add(blackout, "title")
    hud.add(blackout, "game")
    error("Your copy of 2.2 is obsolete and not compatible with this mod. Please update to version 2.2.13 or higher.", 0)
end

local function SafeFreeslot(...)
    for _, item in ipairs({...})
        if rawget(_G, item) == nil
            freeslot(item)
        end
    end
end
 
ye at the very top

OLD
Code:
if (VERSION == 202) and (SUBVERSION < 14)
    local function blackout(v)
        v.drawFill()
        v.drawString(160, 100, ("this mod requires version 2.2.14 or higher"),V_REDMAP, "center")
    end
    hud.add(blackout, "title")
    hud.add(blackout, "game")
    error("Your copy of 2.2 is obsolete and not compatible with this mod. Please update to version 2.2.14 or higher.", 0)
end

local function SafeFreeslot(...)
    for _, item in ipairs({...})
        if rawget(_G, item) == nil
            freeslot(item)
        end
    end
end

NEW
Code:
if (VERSION == 202) and (SUBVERSION < 13)
    local function blackout(v)
        v.drawFill()
        v.drawString(160, 100, ("this mod requires version 2.2.13 or higher"),V_REDMAP, "center")
    end
    hud.add(blackout, "title")
    hud.add(blackout, "game")
    error("Your copy of 2.2 is obsolete and not compatible with this mod. Please update to version 2.2.13 or higher.", 0)
end

local function SafeFreeslot(...)
    for _, item in ipairs({...})
        if rawget(_G, item) == nil
            freeslot(item)
        end
    end
end

Ok Thx i credit you in the update log when i update it
 
Almost All of KaydenSonic art 2023-2025
(Am probably missing some more because this was taken back in 2025)

IMG 3423

IMG 3424

IMG 3422
 
Top