Font= "_eurostile normal",
local language = THEME:GetCurLanguage()
if language == es then
self:settext("You are using Spanish.")
self:settext("You are not using Spanish.")
What's wrong with it? I've also tried to use quotation marks in "es" but it didn't work.
EDIT: A solution has been found. Saving for future reference.
you need quotes around "es", and you shouldn't have "then" after "else". otherwise looks right, if it doesn't work see what GetCurLanguage is actually telling you using trace() and checking the log file
Try writing your playcommand as playcommand,"Set"
Last edited: 29 November 2016 2:20pm