Jump to content

skins


Arsilex

Recommended Posts

miren tengo esto en el paradise para ponerse skins t cuando le doy a uno siempre sale lo mismo

                    elseif id == 5 then 
                        if type( value ) == "number" and exports.players:isValidSkin( value ) then 
                            local new = exports.players:getSkinDetails( value ) 
                            local current = exports.players:getSkinDetails( getElementModel( source ) ) 
                            if current.gender == new.gender and current.color == new.color then 
                                if setElementModel( source, value ) then 
                                    exports.chat:me( source, "changes their clothes." ) 
                                else 
                                    outputChatBox( "(( You're already wearing these clothes. ))", source, 255, 0, 0 ) 
                                end 
                            else 
                                outputChatBox( "(( These clothes do not fit you. ))", source, 255, 0, 0 ) 
                            end 
                        end 

siempre sale outputChatBox( "(( These clothes do not fit you. ))", source, 255, 0, 0 )

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...