Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/01/19 in Files

  1. Version 1.0.0

    6659 downloads

    For install just copy files to your server.Don't forget edit index.js into client_packages if you have more resources. Read the LICENSE.txt befor use.
    1 point
  2. Version 2.1.0

    2331 downloads

    Now with 200% more color. Clientside Functions: mp.game.ui.notifications.show(message, flashing = false, textColor = -1, bgColor = -1, flashColor = [77, 77, 77, 200]) mp.game.ui.notifications.showWithPicture(title, sender, message, notifPic, icon = 0, flashing = false, textColor = -1, bgColor = -1, flashColor = [77, 77, 77, 200]) Serverside Functions: player.notify(message, flashing = false, textColor = -1, bgColor = -1, flashColor = [77, 77, 77, 200]) player.notifyWithPicture(title, sender, message, notifPic, icon = 0, flashing = false, textColor = -1, bgColor = -1, flashColor = [77, 77, 77, 200]) As Events: BN_Show(message, flashing = false, textColor = -1, bgColor = -1, flashColor = [77, 77, 77, 200]) BN_ShowWithPicture(title, sender, message, notifPic, icon = 0, flashing = false, textColor = -1, bgColor = -1, flashColor = [77, 77, 77, 200]) Example: // Clientside mp.game.ui.notifications.show("Normal message with custom text and background color.", false, 15, 20); mp.game.ui.notifications.showWithPicture("New Message", "Facebook", "You got some more of that data?", "CHAR_FACEBOOK", 1, false, 0, 139); // Serverside player.notify("This message is red which means you're doing something wrong.", false, 6); player.notifyWithPicture("Title", "Ammu-Nation", "Ammunation has all the equipment you need to protect your family from the evils of a liberal society! Fixed, mounted, and shoulder-held submachine guns. Mortars! Surface-to-air and all manner of heat-seeking missiles!", "CHAR_AMMUNATION"); Icons: You can specify an icon ID for picture notifications, here's a list of them: 0, 4, 5, 6 = No Icon 1 = Speech Bubble 2 = Message 3 = Friend Request 7 = Arrow 8 = RP 9 = Money Notes: textColor and bgColor parameters want a HUD color ID which you can find here. (it is a bit outdated now though) You can find notification pictures here. If you can't see picture notifications, you must enable Phone Alerts from Settings > Notifications > Phone Alerts. This script changes player.notify on serverside.
    1 point
  3. Version 1.0.1

    572 downloads

    (EN) This script allow you to play emergency alert sound (2 sounds: tornado siren, alert siren), coming soon: amber alert with sound&pop-up (FR) Ce script vous permet de déclencher des sirènes d'alertes (sirène tornade, sirène d'alerte), à venir: alerte enlèvement avec son&popup ----- HOW TO INSTALL ----- 1) Unpack RAGEMP Alert v0.1 2) Drop the content of "client_packages" folder inside your client folder 3) Drop the content of "packages" folder inside your server folder 4) Add in your server index.js : require('./Alert/sAlert'); 5) Add in your client index.js : require('./Alert/cAlert'); 6) Do not forget to change link of mp.browsers.new in Alert/cAlert.js if needed ----- HOW TO USE ----- /alert tornado {repeat time} --> {repeat time} FROM 1 TO 9 TIMES Duration: EACH time: 9sec (min: 9sec, max: 81sec) /alert siren {repeat time} --> {repeat time} FROM 1 TO 9 Duration: START: 5sec / ACTIVE: 12sec (repeat from 1 to 9) / END: 13sec (min: 30sec, max: 126sec) /alert siren stop --> stop the siren immediatly if activated (duration: 13sec) ----- DEMO ----- Tornado Siren: Alert siren: Amber alert (coming soon):
    1 point
  4. Version 1.0.1

    1216 downloads

    Installing Put the files you downloaded in their respective places Add require('indicators') to client_packages/index.js All done Controls Numpad 4 - Toggle left indicator Numpad 6 - Toggle right indicator
    1 point
×
×
  • Create New...