Payday image "MAZA BANK"

Hello!
I’m trying to find the paycheck file, or when i get my payday it show a little MAZA BANK image, i want to change that picture to something else.

1 Like

Check here https://wiki.■■■■■■■■■■■/index.php?title=Notification_Pictures

I mean can i add another image to it like this one, i want to edit the BANK one and add this one
image
image

Yes, this requires OpenIV

  1. Use an existing ytd (or create a new one) i.e. https://bitbucket.org/d0p3t/worldeventsm/src/master/Assets/char_we.ytd
  2. Put it somewhere in your GTA folder and open it with OpenIV
  3. Go into edit mode and double click on it to edit it. You will see a window pop up with the contents of the ytd
  4. Hit Import (I think on the top left of the window) and browse to your image (must be png I believe) and hit OK.
  5. Once done, exit the window and drag + drop it from OpenIV -> to the stream folder of your resource
  6. Use it with this native (with the example linked about) https://runtime.fivem.net/doc/natives/#_0x1CCD9A37359072CF
int _SET_NOTIFICATION_MESSAGE(char* picName1, char* picName2, BOOL flash, int iconType, char* sender, char* subject);

where picName1 is CHAR_WE, picName2 = the name of the picture that you put in (in the example there’s a picture called REBOOTBOTTOM).

You can put as many images in the ytd as you like

Don’t forget to draw it with DrawNotification(blink, showInBrief) https://runtime.fivem.net/doc/natives/#_0x2ED7843F8F801023

C# example (but it’s just natives so very similar in Lua)

SetNotificationTextEntry("STRING");
AddTextComponentString("My text");
SetNotificationBackgroundColor(1); // more colors available check natives DB
SetNotificationMessage("CHAR_WE", "REBOOTBOTTOM", true, 1, "Some Title", "Some Subtitle"); // 1 can be replaced by others. Check native
DrawNotification(false, true);
7 Likes

Thank you man :slight_smile:

Can you make a video?

3 Likes

^^ yeah that would be helpful, a lot.

How you changed your picture I won’t

Hey
SetNotificationTextEntry(“STRING”);
AddTextComponentString(“My text”);
SetNotificationBackgroundColor(1); // more colors available check natives DB
SetNotificationMessage(“CHAR_WE”, “REBOOTBOTTOM”, true, 1, “Some Title”, “Some Subtitle”); // 1 can be replaced by others. Check native
DrawNotification(false, true);

where all this go

I have stream folder and in there I have maze_bank.ytd or whatever the file name is
But it wont stream
can you please help me?

Whereever in your code that you want to show the notification

Didn’t understand your question

Can somebody make fast video? I don’t understand anything after five. Help the stupid, please!