I have problem with integers when I want to use them in SetText function.
Code: Select all
main()
{
(Page.GetFirstChild("SP") as CMlLabel).SetText(LocalUser.LadderPoints);
(Page.GetFirstChild("Rank") as CMlLabel).SetText(LocalUser.LadderRank);
yield;
}
--></script>
Code: Select all
main()
{
(Page.GetFirstChild("SP") as CMlLabel).SetText(LocalUser.LadderPoints as Text);
(Page.GetFirstChild("Rank") as CMlLabel).SetText(LocalUser.LadderRank as Text);
yield;
}
--></script>
Thanks
