iFruitAddon2 3.0.2
dotnet add package iFruitAddon2 --version 3.0.2
NuGet\Install-Package iFruitAddon2 -Version 3.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="iFruitAddon2" Version="3.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="iFruitAddon2" Version="3.0.2" />
<PackageReference Include="iFruitAddon2" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add iFruitAddon2 --version 3.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: iFruitAddon2, 3.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package iFruitAddon2@3.0.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=iFruitAddon2&version=3.0.2
#tool nuget:?package=iFruitAddon2&version=3.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
iFruitAddon2
Updated version of the original iFruitAddon by CamxxCore.
This is a developer resource, it allows you to handle the game's phone in order to add contacts, change the button's appearance, wallpaper and more!
Installation
- Requires ScriptHookVDotNet v3
- Put the file like any other SHVDN scripts in your
GTA V\scripts
directory
How to use (developper)
- 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.
What's new?
- 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.).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- ScriptHookVDotNet3 (>= 3.0.0 && < 4.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Now working with GTA V Enhanced and Legacy versions.