local skinData = { { name ="bags_1", val =0 }, { name ='bags_2', val =0}, { name ="glasses_1", val =-1 }, { name ='bags_2', val =0}, { name ="watches_1", val =-1 }, { name ='watches_2', val =0}, { name ="bracelets_1", val =-1 }, { name ='bracelets_2', val =0}, { name ="tshirt_1", val =242 }, { name ="tshirt_2", val =0}, { name ="torso_1" , val =734}, { name ="torso_2", val =15}, { name ="decals_1", val =0 }, { name ="decals_2", val =0}, { name ="arms" , val =19 }, { name ="pants_1" , val =348 }, { name ="pants_2", val =0}, { name ="shoes_1" , val =25 }, { name ="shoes_2", val =0}, { name ="mask_1" , val =0 }, { name ="mask_2", val =0}, { name ="helmet_1", val =-1 }, { name ="helmet_2", val =-1}, { name ="chain_1" , val =294}, { name ='chain_2', val =0}, { name ="ears_1" , val =-1 }, { name ='ears_2', val =-1}, { name ="bproof_1", val =85 }, { name ='bproof_2', val =0},}TriggerEvent("tgiann-clothing:changeScriptClothe", skinData)-- Return back old skinTriggerEvent("tgiann-clothing:changeScriptClothe")
scriptClotheIsActive
exports["tgiann-clothing"]:scriptClotheIsActive()
Return :
Example
local active = exports["tgiann-clothing"]:scriptClotheIsActive()if active thenTriggerEvent("tgiann-clothing:changeScriptClothe") -- Return back old skinend