Updated version of the original iFruitAddon by CamxxCore.
Allows you to handle the game's phone in order to add contacts, change the button's, wallpaper and more!
- Requires ScriptHookVDotNet
- Put the file in your GTA V\scripts directory
- Reference
iFruitAddon2.ddl
in your project. - Copy
iFruitAddon2.ddl
to ScriptHookVDotNet scripts folder.
An example script is available here.
If you are used to iFruitAddon, you will see two main differences:
- There is no need to set the index of your contact (they will all be added one after the other at the bottom of the phone's list). It means mods contacts cannot overlaps each others anymore!
- You need to call the CustomiFruit
Close(int)
method when you no longer need the phone (conversation is over, etc.). This method will close the phone after the delay you've specified (in milliseconds). You can also callClose()
without argument to close the phone immediatly.
- Contact's indexes are set automatically and are shared between mods (you cannot overwrite another mod's contact anymore).
- You can close the phone with the
Close(int)
method. It is useful if you use a contact to open a NativeUI menu. Since NativeUI menus use the same controls to navigate as the phone, you can close the phone to avoid navigating in the menu while browsing your menu. - You can set the contact name to bold in the contact list (use
.Bold
property ofiFruitContact
). - Updated list of phone contact's pictures.
- Displays CONNECTED on the phone's UI when the contact has answered.
- Automatically localized texts ("DIALING...", "BUSY...", "CONNECTED", etc.).
- Checks if iFruitAddon2's updates are available when the game starts.