rodistic / NotifyMe

NotifyMe is a AltV resource. It is for sending Notifications Server and Clientside

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


NotifyMe!

NotifyMe is an resource for AltV. You can send Big/Little/Banner Notifications to your Users with it!

NotifyMe Demo

Usage

  1. Import NotifyMe
import * as notify from 'notify-me'
  1. Create your Notifications!
//Serverside

notify.bigNotification(player,'your header','your second text','type or blank');

notify.littleNotification(player,'your text', 'type or blank');

notify.bannerNotification(player,'your text', 'URL to Picture');

//Clientside

notify.bigNotification('your header','your second text','type or blank');

notify.littleNotification('your text', 'type or blank');

notify.bannerNotification('your text', 'URL to Picture');

//Types

info == Blue
danger == Red
success == Green
warning == Yellow

Example

import * as notify from 'notify-me';


alt.on('playerDeath', function(victim,killer){

	notify.bigNotification(victim,'Bruh you just died','I guess thats sucks tho','danger');

	notify.littleNotification(killer,'Now you have blood on your hands!','success');

})

About

NotifyMe is a AltV resource. It is for sending Notifications Server and Clientside


Languages

Language:JavaScript 91.3%Language:HTML 8.7%