Open qiangqiang101 opened 8 years ago
and how to get the index of the contactlist?
I guess I missed that one but you could use it like this: contact.Icon = new ContactIcon("char_pegasus_delivery");
The method to get the index is set as internal but you could build the source with it as public and use it like this: ifruit.Contacts.GetSelectedIndex(ifruit.Handle); (or just c/p the function and use it in your own project: https://github.com/CamxxCore/iFruitAddon/blob/master/iFruitContactCollection.cs#L79)
Btw you can find most icons with OpenIV under x64b.rpf\data\cdimages\scaleform_generic.rpf.
Thanks but I mean get the last index of the phone contact, so it won't overlay the other contacts :+1:
@CamxxCore can i change the font?
No way to get the last index that I know of. Maybe if we could read a stat value related to the players progress. And we can't change the font or color. I think it is possible with other scaleform movies but not this one, since it instantiates a movie object for every contact. In other places you can just use html tags to change the color and font.
@CamxxCore "In other places you can just use html tags to change the color and font." How can I do that?
< font color=\'#ff00ff\' >hi< /font >
no spaces.. github just tries to format it
not sure how relevant it is now, but if u use the code style it shouldn't format it (great for sharing code)😂
I'm adding Pegasus into my mod SPA, but i can't seems to find the icon for it.