Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[0.1.4] Notifications
#1
Simple script, which helps you to notify players about something.

How to use?

Code:
local myNotification = Notification(id,text,font,r,g,b,x,y)

For example

local myNotification = Notification(0,"Gothic 2 Online","Font_Old_10_White_Hi.TGA",255,255,0,2000,2000);

Script moves your text from (x,y) to (x,y - 1000).

Also, you can use new event onNotificationEnd(id). For example:

Code:
function onNotificationEnd(id) {
  print("My notification " + id + " is ended.");
}

addEventHandler("onNotificationEnd",onNotificationEnd);

Demonstration


Download

Script: pastebin.
Script for tests (from video): pastebin.
Discord: I'm not a spy...#9943.
GG: 60474243.

[Image: OsmithREV.gif]
[Image: 76561198181768479.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)