Skip to content

KadirFiratFTW/alt-V-Vue-Notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alt-V Vue Notify

Vue-snotify is not mine. I just used a vue plugin in this resource..

Installation

1 - Download the zip.
2 - Create a new directory in your server resources and rename it to "vue-notifier". Extract all files into this directory.
3 - Your folder structure has to be like this ;

==vue-notifier
===/html
=====index.html
=====snotify-material.css
=====vue.js
=====vue-snotify.js
===client.mjs
===index.mjs
===resource.cfg

4 - add "vue-notifier" into your server.cfg.

Usage

Server -> Server (Notify to Specific Player)

    //in your server file
    //@sendedPlayer : Player.id
    //@text : Notify Body,
    //@type : [success, warning, danger]
    alt.emit("notifyFromServer", sendedPlayer, text, type)

Client -> Server -> Client (Notify to Self Player)

    //in your client file
    //@text : Notify Body,
    //@type : [success, warning, danger]
    alt.emitServer("notifyFromClient", text, type)

Credits

vue-snotify by artemsky

About

Send Notify To Players.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages