Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/09/20 in all areas

  1. Version 1.1.0

    807 downloads

    Released a better version here: Adds timer bars from GTA V/Online. Installing Drop the timerbars folder to your server's client_packages folder, then you can use const barlibrary = require('timerbars'); to add timer bars. (don't forget to check examples) TimerBar Properties A timer bar has these properties: title | Title (left text) of the timer bar. (string) useProgressBar | Progress bar of the timer bar. If set to true, a progress bar will be drawn instead of right text. (bool) text | Text (right text) of the timer bar, useless if useProgressBar is true. (string) progress | Progress of the timer bar, useless if useProgressBar is false. (float between 0.0 - 1.0) textColor | Text color of the timer bar. (rgba array or HUD color ID) pbarBgColor | Progress bar's background color. (rgba array or HUD color ID) pbarFgColor | Progress bar's foreground color. (rgba array or HUD color ID) visible | Visibility of the timer bar. (bool) usePlayerStyle | If set to true, timer bar title will be displayed like a GTA Online player name. (bool) You can check this wiki page for HUD color IDs. Examples const timerBarLib = require("timerbars"); // lets create some progress bars let timeBar = new timerBarLib.TimerBar("TIME LEFT"); timeBar.text = "33:27"; let teamBar = new timerBarLib.TimerBar("TEAM MEMBERS LEFT"); teamBar.text = "4"; let healthBar = new timerBarLib.TimerBar("BOSS HEALTH", true); healthBar.progress = 0.8; healthBar.pbarFgColor = [224, 50, 50, 255]; healthBar.pbarBgColor = [112, 25, 25, 255]; let rewardBar = new timerBarLib.TimerBar("REWARD"); rewardBar.text = "$500000"; rewardBar.textColor = [114, 204, 114, 255]; // f7 to toggle visibility of bars mp.keys.bind(0x76, false, () => { timeBar.visible = !timeBar.visible; teamBar.visible = !teamBar.visible; healthBar.visible = !healthBar.visible; rewardBar.visible = !rewardBar.visible; }); // f8 will change health bar's value to something random mp.keys.bind(0x77, false, () => { healthBar.progress = Math.random(); }); const timerBarLib = require("timerbars"); let eventTime = new timerBarLib.TimerBar("EVENT TIME LEFT", false); eventTime.text = "01:40"; let thirdPlace = new timerBarLib.TimerBar("3rd: PlayerName3", false); thirdPlace.text = "9 kills"; thirdPlace.textColor = 107; // HUD_COLOUR_BRONZE thirdPlace.usePlayerStyle = true; let secondPlace = new timerBarLib.TimerBar("2nd: PlayerName2", false); secondPlace.text = "12 kills"; secondPlace.textColor = 108; // HUD_COLOUR_SILVER secondPlace.usePlayerStyle = true; let firstPlace = new timerBarLib.TimerBar("1st: AimbotNub", false); firstPlace.text = "30 kills"; firstPlace.textColor = 109; // HUD_COLOUR_GOLD firstPlace.usePlayerStyle = true;
    1 point
  2. Asking which one is easier is definitely a personal question, not every language is easy to learn for everyone and others pickup languages easier. Either one is sufficient and I don't believe is any harder than the other. If you learn one language you don't need to learn the other, you can code the whole server using only one language. This isn't really going to answer which one is better, you will get a lot of recommendations to use C# which is a good language, but be aware most resources posted have been done in NodeJS/Javascript so you will have to mostly stick with the documentation on the wiki or using our Discord server and looking for examples there if you're more of a learner through example. tldr; either language is fine, there's no disadvantage using either, and you don't need to know both languages to create a server.
    1 point
  3. Server Script Update (v1.6.12) | Languages, Store Robberies, Vehicle Crusher & Fixes | June, 2020 This update adds in the ability to choose additional languages for your character, the ability to rob a store clerk, create an illegal faction, as well as many fixes! Did you miss that we partnered with GAMESENSE? Check it out! Missed Binoculars? Click here! Missed Drugs & Dark Mode? Click here for more info! Missed OwlV 1.6? Click here for more info! Missed OwlV 1.5? Click here for more info! Missed OwlV 1.4? Click here for more info! Missed OwlV 1.3? Click here for more info! Missed OwlV 1.2? Click here for more info! Missed OwlV 1.1? Click here for more info! Features & Adjustments Allow players to sell their vehicle back to the server at the dealership for 33% of the value. Allow administrators to use /setpropfaction /setvehfaction /sellveh and /sellproperty Multiple Languages Character creation allows choosing a second language Language skill progresses as your character speaks and hears that language Store Robberies Aim a gun at a store clerk to begin a robbery Police will be called shortly after the robbery The robbery gives the robbing player a randomized amount of money Administrators can view recent robberies via /recentrobberies Faction create menu moved into the F3 panel Added the ability to create legal or illegal factions. More on this soon! Fixes Removed double marker in trash job Updated marijuana item descriptions Fixed SMS not notifying the player Fixed setowner doesn't give keys Loop the smoking animation Fixed a bug where broadcasters couldn't start a broadcast alone Fixed the news camera Changed the tooltip for smoking & allowed players to cancel the animation Added dimension support for player attachments Screenshots Videos Language System https://i.imgur.com/xjRZZ0x.mp4 Store Robberies https://streamable.com/uk8243 Vehicle Crusher https://streamable.com/3ehth0 Create Illegal Faction https://streamable.com/vx0jpi
    1 point
  4. Nesse caso sim, quando você usa o player.dinheiro = 5000, você está criando um novo parâmetro dentro do objeto do player.
    1 point
  5. Валакас не есть самый успешный фулл-рп, и не тот, с которым стоит сравнивать. Русские сервера по 300-400 онлайна были забиты под завязку в фулл-рп режиме, и еще будут, особенно смешно смотреть рассуждения на тему бесперспективности когда я смотрю на онлайн англ. старичка ls-rp.com (.io), где люди и спустя 11 лет играют. Еще более непонятен мне такой уклон в мусорное РП в русском комьюнити, когда я смотрю на начавшийся взрыв английского РП-сегмента на твиче, стримеры играют в FiveM и их смотрят больше ста тысяч человек, их стримы показывают невиданную статистику по просмотрам. Очень многие игроки умеют и хотят играть. И только русские, сука, ваньки, могут испортить такую бешеную платформу, о которой три года назад только мечтать можно было, позвав животных-стримеров с их животным комьюнити. Это не пример для подражания и не место для комфортной игры, это копия ГТА онлайн, которая надоест нормальному человеку через месяц. Почему-то в английском сегменте таких лайт-нуборп серверов никогда не было с такими онлайнами, наверное "особенность национальной игры", сложно голову включать, лучше бизнес поймать. Не давайте этой иллюзии затмить факт того, что людей, которые играют ради кайфа и атмосферы сейчас невероятно много.
    1 point
  6. появляеться на секунду в трее значок rage mp и пропадает, что делать?
    0 points
×
×
  • Create New...