Jump to content

exports


Arsilex

Recommended Posts

me da un error un poco raro aciendolo todo bien ._.

--players funcion getCuarrentLanguage

function getCurrentLanguage( player ) 
    if isLoggedIn( player ) then 
        for key, value in pairs( p[ player ].languages ) do 
            if value.current then 
                return key 
            end 
        end 
    end 
end 

--Mi funcion (Client)

Lenguaje = exports.players:getCurrentLanguage(localPlayer) 

ERROR: call: failed to call "players:getCuarrentLanguage" [string "?"]

por que puede ser e.e?

Link to comment
  • Recently Browsing   0 members

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