FiveM in-game advertising banner
- Only with natives
- Fully optimised (server-side: 0.01ms / 0.02ms while working | client-side: 0.00ms / 0.01ms while working)
- Customizable
- Easy to use with other scripts by triggering events
events names | Top of screen ? | Banner color | Text (max. 100 characters) | Text color | Display duration (in seconds) |
---|---|---|---|---|---|
"cadBanner:callServer" | boolean | { int red, int green, int blue, int alpha } | string | { int red, int green, int blue, int alpha } | integer |
Example:
TriggerServerEvent("cadBanner:callServer", true, {10, 10, 10, 255}, "TESTING AD BANNER :)", {255, 255, 255, 255}, 2)
will display "TESTING AD BANNER :)" while 2 seconds on a dark background with a white foreground color on the top of the user's screen.
🎉 waiting for suggestions or contributions!