From 343a08e44a681de20d5aad94c7d21f24c7c439f9 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 23 Jul 2014 19:06:46 +0200 Subject: Update - fix some errors --- MT_skins_updater.exe | Bin 0 -> 10752 bytes Newtonsoft.Json.dll | Bin 0 -> 491008 bytes u_skins/init.lua | 10 ++++++++++ win32.NET/MT_skins_updater.exe | Bin 10752 -> 0 bytes win32.NET/Newtonsoft.Json.dll | Bin 491008 -> 0 bytes 5 files changed, 10 insertions(+) create mode 100644 MT_skins_updater.exe create mode 100644 Newtonsoft.Json.dll delete mode 100644 win32.NET/MT_skins_updater.exe delete mode 100644 win32.NET/Newtonsoft.Json.dll diff --git a/MT_skins_updater.exe b/MT_skins_updater.exe new file mode 100644 index 0000000..5b4ee3e Binary files /dev/null and b/MT_skins_updater.exe differ diff --git a/Newtonsoft.Json.dll b/Newtonsoft.Json.dll new file mode 100644 index 0000000..054c933 Binary files /dev/null and b/Newtonsoft.Json.dll differ diff --git a/u_skins/init.lua b/u_skins/init.lua index 88fb301..7634de7 100644 --- a/u_skins/init.lua +++ b/u_skins/init.lua @@ -9,6 +9,16 @@ u_skins.pages = {} u_skins.u_skins = {} u_skins.file_save = false +-- ( Deprecated +u_skins.type = { SPRITE=0, MODEL=1, ERROR=99 } +u_skins.get_type = function(texture) + if not u_skins.is_skin(texture) then + return u_skins.ERROR + end + return u_skins.MODEL +end +-- ) + u_skins.is_skin = function(texture) if not texture then return false diff --git a/win32.NET/MT_skins_updater.exe b/win32.NET/MT_skins_updater.exe deleted file mode 100644 index 5b4ee3e..0000000 Binary files a/win32.NET/MT_skins_updater.exe and /dev/null differ diff --git a/win32.NET/Newtonsoft.Json.dll b/win32.NET/Newtonsoft.Json.dll deleted file mode 100644 index 054c933..0000000 Binary files a/win32.NET/Newtonsoft.Json.dll and /dev/null differ -- cgit v1.2.3