PDA

View Full Version : Properties Doesnt Work ....


mustafa06
03-19-2008, 12:13 PM
Code ---

dat = Label.GetText("Lengt")

if dat == "9" then
tblLabelProps = {"Lengt"};
tblLabelProps.FontUnderline = false;
tblLabelProps.FontAntiAlias = true;
tblLabelProps.ColorNormal = Math.HexColorToNumber("FF0000");
end

End ---

Doesnt work why :huh

ShadowUK
03-19-2008, 12:54 PM
if (Label.GetText("Lengt") == "9" or 9) then
local tblLabelProps = {};
tblLabelProps.FontUnderline = false;
tblLabelProps.FontAntiAlias = true;
tblLabelProps.ColorNormal = Math.HexColorToNumber("FF0000");
Label.SetProperties("Lengt", tblLabelProps)
end

mustafa06
03-19-2008, 01:01 PM
if (Label.GetText("Lengt") == "9" or 9) then
local tblLabelProps = {};
tblLabelProps.FontUnderline = false;
tblLabelProps.FontAntiAlias = true;
tblLabelProps.ColorNormal = Math.HexColorToNumber("FF0000");
Label.SetProperties("Lengt", tblLabelProps)
end

ty ShadowUK ;)