Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Solved] Adding Plugin Image?

Featured Replies

Hello, so I have been working on my plugin and I was wondering, how exactly do you add an image to be displayed in a game notification? When my plugin loads I would like to display an image to the left of my notification title. Here is my current  code:

Game.DisplayNotification("Blaine County Callouts " + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() + " has loaded successfully, thank you for downloading!");

Any help will be gladly appreciated.

Edited by OfficerJohnnyShumway
Question has been solved

If you want to use textures in the notifications, you can use:

Example:

Game.DisplayNotification("web_lossantospolicedept", "web_lossantospolicedept", "Blaine County Callouts", + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() + " has loaded successfully", "thank you for downloading!");

Instead of "web_lossantospolicedept", you can use other textures located in OpenIV,

  • Author
Just now, sEbi3 said:

If you want to use textures in the notifications, you can use:

Example:


Game.DisplayNotification("web_lossantospolicedept", "web_lossantospolicedept", "Blaine County Callouts", + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() + " has loaded successfully", "thank you for downloading!");

Instead of "web_lossantospolicedept", you can use other textures located in OpenIV,

Thanks mate! I will try this.

8 minutes ago, sEbi3 said:

If you want to use textures in the notifications, you can use:

Example:


Game.DisplayNotification("web_lossantospolicedept", "web_lossantospolicedept", "Blaine County Callouts", + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() + " has loaded successfully", "thank you for downloading!");

Instead of "web_lossantospolicedept", you can use other textures located in OpenIV,

Question, in OpenIV which folder are these textures located? Is it a certain patchday or somewhere else?

1 hour ago, OfficerJohnnyShumway said:

Thanks mate! I will try this.

Question, in OpenIV which folder are these textures located? Is it a certain patchday or somewhere else?

There are different locations in OpenIV for textures.

 

You can find a lot of textures in: update/update.rpf/x64/textures/script_txds

The one in the example is in: x64b/data/cdimages/scaleform_generic

  • Author
9 minutes ago, sEbi3 said:

There are different locations in OpenIV for textures.

 

You can find a lot of textures in: update/update.rpf/x64/textures/script_txds

The one in the example is in: x64b/data/cdimages/scaleform_generic

Thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.