This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
Sinister Smile
Hi all, i have problem with my color manager ( Change color Name / Tittle ). When someone change the name or title color he get the desired color, but when he restart and login again he dont have the buyed color .. how to save the color when he buyed it?
i try with
st.getPlayer().store();
but i get only SyntaxError
SyntaxError: ('invalid syntax', ('__init__.py', 116, 33, '\t\t\t\tst.player.store();'))
this is one of the event's.
if event == "306": if st.getQuestItemsCount(ITEM_ID) >= COLOR_COUNT: st.takeItems(ITEM_ID,COLOR_COUNT) st.getPlayer().getAppearance().setTitleColor(0xff0000) st.getPlayer().broadcastUserInfo(); return "6.htm" else: return "incorrectcount.htm"any other advice?
Edited by Sinister Smile1 answer to this question
Recommended Posts