Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdio.h"
- //<img src='img://gtaologo/gtaotransitionlogo' height='128' width='128'/>
- #define IMG_HTML(dict,img,width,height) "<img src='img://" dict "/" img "' height='" height "' width='" width "'/>"
- int main()
- {
- char *text = "Before text " IMG_HTML("gtaologo","gtaotransitionlogo","128","128") " after text";
- printf(text);
- }
- Output:
- Before text <img src='img://gtaologo/gtaotransitionlogo' height='128' width='128'/> after text
- Credits: https://gtaforums.com/topic/853053-lua-how-can-i-get-a-picture-inserted-into-the-notification-which-i/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement