Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/21/18 in all areas

  1. https://i.imgur.com/xtQYP2H.png Discord: https://discord.gg/ExPkVqHyWp IP: 51.89.151.20 PartyServer.mp About PartyServer is a team deathmatch script that is based around Sandy Shores. There are currently 5 teams, SWAT, Pilots, Hicks, Farmers, Nang and Whores however we are planning on adding more as the server progresses. Come log on and shoot some people. We're looking for active staff/testers so if you're interested join the discord. Features Teams Each team have their own weapon loadouts & perks, some of these perks include armored vehicles, ammo regeneration, the ability to heal players around you and extra armor on spawn. Races: There are currently 5 races that can be started by any admin. There are leaderboards for race time, racers joined and more. Translations There are currently 4 different language translations (This is a work in progress) Achievements The server has several achievements that you can unlock while playing, once you achieve them you will be rewarded with weapons, money or score Objectives There are 3 capture points around the grand senora desert which each take 60 seconds to capture for your respective team, once captured you will receive a score boost and some money which you can use to purchase weapons & upgrades at the ammunation points. Leader boards There are leader boards that are visible ingame. At this stage of development we are only showing the top 5 players (kills) and the top 5 clans (KDR), more will be added as we collect more data. Clans Clans can be created ingame by any player, once created the leader can invite people & manage the clan. Clans will record the amount of kills, deaths and members the clan has. In the future we will show captures & play time. 1v1 Duels You can request to duel any player in the server, your results will be recorded and are visible at any time in /stats PartyHour Administrators can start partyhour which will spawn a lot of weaponized vehicles around around the map. This hour will also include double score and money. Discord presence Discord users can check the player count and chat with players who are currently ingame Turf wars Each team have one locked turf at their spawn point and there are 50ish other ones around Sandy Shores that are available to claim. It takes 3 members of the same team standing on a turf to begin the capture, the capture time is 2 minutes and the team with the most kills inside that time will win the turf. Random events Such as airdrops to claim, teams to play as, word puzzles etc Voice: Voice chat is currently enabled for local chat only (hold 'B' to chat). In upcoming updates we will add team and clan chat channels. Races: Clan system: Gameplay (Old) Development Media
    1 point
  2. Version 1.2.0

    1061 downloads

    This project is discontinued, consider using NativeUI instead. Bare-bones menu script. Installing: Put basicmenu into your server's client_packages directory, then you can add const whatever = require("basicmenu"); to the clientside scripts that you want to add a menu. Example code explains this better. Properties & Functions: BasicMenu title | Get & Set | Title of the menu. (string) x | Get & Set | X position of the menu. (float) y | Get & Set | Y position of the menu. (float) items | Get & Set | An array containing all items of the menu. (MenuItem array) hoverItem | Get & Set | Index of the item you're hovering on with your cursor, -1 if not hovering on anything. (int) visible | Get & Set | Visibility of the menu. (bool) disableESC | Get & Set | Allow/disallow menu from being closed by pressing ESC key. (bool) titleFont | Get & Set | Font ID of the title. (int) titleColor | Get & Set | Text color of the title. (array containing rgba) itemsPerPage | Get & Set | How many items are visible on a page of the menu. (int) currentPage | Get & Set | Current page of the menu. (int) setBanner(lib, banner) | Sets the menu's banner to another texture, setBanner("shopui_title_carmod", "shopui_title_carmod") will set the menu banner to be Los Santos Customs one for example. MenuItem title | Get & Set | Title of the item. (string) disabled | Get & Set | Whether the item is able to be selected or not. (bool) textColor | Get & Set | Color of the item's title. (array containing rgba) bgColor | Get & Set | Color of the item's background. (array containing rgba) icon | Get & Set | ID of the item's icon. (int) font | Get & Set | Font ID of the title. (int) outline | Get & Set | Outline of the item. (bool) shadow | Get & Set | Shadow of the item. (bool) rightText | Get & Set | Right text of the item. (string) Icon IDs: You can put icons to menu items (even though there are only 3 options) if you want to. Just do myMenuItem.icon = desired icon ID. MenuItemIcons.None (0) = No icon MenuItemIcons.Lock (1) = Lock icon MenuItemIcons.Tick (2) = Tick/checkmark icon Events: There are three events, see example for how to use them. OnMenuItemSelected(menu, selectedMenuItem, selectedMenuItemIndex) /* Will be called when a menu item is clicked on/selected. menu - The menu that contained the selected item. (BasicMenu) selectedMenuItem - The menu item that was selected. (MenuItem) selectedMenuItemIndex - Index of the menu item on the selected menu. (int) */ OnMenuPageChanged(menu, oldPage, newPage) /* Will be called when a menu's page is changed. menu - The menu that had a page change. (BasicMenu) oldPage - Old page. (int) newPage - New page. (int) */ OnMenuClosed(menu) /* Will be called when a menu is closed. menu - The menu that was closed. (BasicMenu) */ Controls: Hovering on an item and left clicking - select item ESC - close menu (if disableESC isn't set to true) Left Arrow - previous page Right Arrow - next page Example Script: const menuLib = require("basicmenu"); // Creating a menu // you can just do: let exampleMenu = new menuLib.BasicMenu("Test Menu", 0.5, 0.4); let exampleMenu = new menuLib.BasicMenu("Test Menu", 0.5, 0.4, "commonmenu", "interaction_bgd", { itemSelected: function(item, itemIndex) { mp.gui.chat.push(`MenuEvent(${this.title}) - itemSelected: ${item.title} - ${itemIndex}`); }, pageChanged: function(oldPage, newPage) { mp.gui.chat.push(`MenuEvent(${this.title}) - pageChanged: ${oldPage} to ${newPage}`); }, closed: function() { mp.gui.chat.push(`MenuEvent(${this.title}) - close`); } }); exampleMenu.itemsPerPage = 5; // make the menu show 5 items per page, this is default by 10 let normalItem = new menuLib.MenuItem("Normal Item"); normalItem.rightText = "Free"; exampleMenu.items.push(normalItem); let redBackground = new menuLib.MenuItem("Red Background Item", [255, 255, 255, 255], [255, 0, 0, 200]); redBackground.rightText = "~g~$500"; exampleMenu.items.push(redBackground); let greenText = new menuLib.MenuItem("Green Text Item", [0, 255, 0, 255]); exampleMenu.items.push(greenText); // You won't be able to click on disabled items. let disabledItem = new menuLib.MenuItem("Disabled Item"); disabledItem.disabled = true; exampleMenu.items.push(disabledItem); let itemWithIcon = new menuLib.MenuItem("Item with Icon", [255, 255, 255, 255], [0, 0, 0, 200], function() { mp.gui.chat.push("You selected the item with icon, why?"); }); itemWithIcon.icon = menuLib.MenuItemIcons.Tick; itemWithIcon.rightText = "Pretty cool"; exampleMenu.items.push(itemWithIcon); let disabledWithIcon = new menuLib.MenuItem("Top Secret"); disabledWithIcon.disabled = true; disabledWithIcon.icon = menuLib.MenuItemIcons.Lock; exampleMenu.items.push(disabledWithIcon); // You can disable ESC menu closing by using disableESC property. exampleMenu.disableESC = true; // This is important as menus are not visible by default. exampleMenu.visible = true; // Events // OnMenuItemSelected, will be called when a menu item is clicked on. mp.events.add("OnMenuItemSelected", (menu, selectedItem, selectedItemIndex) => { mp.gui.chat.push(`Item selected on menu (${menu.title}) - ${selectedItem.title} (Index: ${selectedItemIndex})`); }); // OnMenuPageChanged, will be called when a menu's current page changes. mp.events.add("OnMenuPageChanged", (menu, oldPage, newPage) => { mp.gui.chat.push(`Menu page changed (${menu.title}) - ${oldPage} to ${newPage}`); }); // OnMenuClosed, will be called when a menu item is closed. mp.events.add("OnMenuClosed", (menu) => { mp.gui.chat.push(`Menu closed (${menu.title})`); }); // F6 key will toggle the visibility of exampleMenu mp.keys.bind(0x75, false, () => { exampleMenu.visible = !exampleMenu.visible; });
    1 point
  3. What do you mean? I mean, if the player is decreasing his life automatically and 100% ??? You could use every frame to check your life and if it's under 100, I'll do it again.
    1 point
  4. This issue is fixed since update RC-1-4 (2017-12-17). This issue should no longer be relevant, if anyone is still experiencing it try this, and if it doesn't work, post a issue on the bug tracker. rt-2
    1 point
×
×
  • Create New...