项目作者: Bob74

项目描述 :
Updated version of the original iFruitAddon by CamxxCore
高级语言: C#
项目地址: git://github.com/Bob74/iFruitAddon2.git
创建时间: 2018-01-26T23:43:35Z
项目社区:https://github.com/Bob74/iFruitAddon2

开源协议:MIT License

下载


GitHub Release
NuGet Downloads

iFruitAddon2

An updated version of the original iFruitAddon by CamxxCore.
This is a developer resource, it allows you to handle the game’s phone to add contacts, change the button’s appearance, wallpaper, and more!

screen1
screen2

screen3

Installation

  • Requires ScriptHookVDotNet v3
  • Put the file like any other SHVDN scripts in your GTA V\scripts directory

How to use (developer)

  • 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 contacts (they will all be added one after the other at the bottom of the phone’s list). It means mods’ contacts cannot overlap each other 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 specified delay (in milliseconds). You can also call Close() without argument to close the phone immediately.

What’s new?

  • Contact indexes are set automatically and are shared between mods (you cannot overwrite another mod’s contact anymore).
  • You can close the phone using 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 of iFruitContact).
  • 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.).