summaryrefslogtreecommitdiff
path: root/u_skins/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'u_skins/init.lua')
-rw-r--r--u_skins/init.lua10
1 files changed, 10 insertions, 0 deletions
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