Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/13/19 in Files

  1. Version 1.0.0

    715 downloads

    Improvements over the previous nativeui: Added `UIMenuDynamicListItem`. Descriptions are no longer cut off at 99 characters, but now support 99 * 3. `UIMenuListItem` and `UIMenuSliderItem` can now store extra data. Improved description line wrapping. Description caption is now only updated when necessary. Description background is now only updated (recalculated) when necessary. Bettered the position of the left arrow for list items. Added new badges (Sale, Arrows and Voice Icons). Added `Menu.RemoveItem(item: UIMenuItem)`. When binding an item to a menu, automatically add that item if it isn't in the menu items list already. Added `MenuOpen` event when `menu.Visible` is changed. When hovering over the currently selected ListItem's title text, the cursor will be MiddleFinger, just like in the original menus. `GoLeft` and `GoRight` now correctly handles disabled items. Added experimental automated menu pool system (It's a bit effy right now). MENUS ARE NO LONGER SHOWN BY DEFAULT. Added `closeChildren: boolean = false` parameter to `menu.Close()`. An optional parameter specifiing whether or not you want to close all children with the menu. NOTE BRIEFLY: The description and optimization updates for me saved over 20-30 FPS while a menu is open. You might want to be careful with menu pools right now. I haven't went deep into it but for simple menu pools it works GREAT. `MenuClose` event is NOT emitted when Visible is set to false. This is to allow users to reopen menus at it's same state, for e.g searching through a store. The GitHub will not match the file here. So please download the file from GitHub (dist/index.ts) or compile it yourself. https://github.com/karscopsandrobbers/RAGEMP-NativeUI
    1 point
  2. Version 2.0

    1340 downloads

    This script allows developers to run and test their code while in game using their favorite code editor. Preview: https://streamable.com/3fz1ck Features: Executes the code once you save the file Auto destroys the old entities created by hotloader to prevent duplicated entities created and improve rapid developing. Auto destroy old event listeners created by hotloader (`let myEvent = new mp.Event('render', ()=> {})`) , read below. Runs code server-side (hotloader/server/*) Runs code client-side (hotloader/client/*) Note this is not meant to be used in in production. How to use: Drag all the folders into server root (place the packages folder into your server/packages, and the hotloader folder in the server root) in root/hotloader you can do your testing in client.js or server.js or you can create new files in the same directory. You have to save the file to apply the chagnes. Auto entity/event remover is activated only when you declare entities with let/var in the main scope (not in if statements or functions) For events dont use mp.events.add, rather use `let myEvent = new mp.Event('eventName', function)` so hotloader can kill the event listener
    1 point
  3. Version 0.0.3

    513 downloads

    This package will help you to save your client-side files from prying eyes. ( Files doesn't downloading on client pc ) Support for import / exports (es6) Support for npm packages Installation 1. Copy virtual-clientside folder in packages folder your server 2. Copy client_packages folder in the folder of your server 3. Go to folder packages/virtual-clientside and open there command console 4. Enter the command: yarn or npm i 5. After installing all the packages, enter command: yarn watch or npm run watch for to run watching for files (for development). 6. Complete. Now you can editing files in folder packages/virtual-clientside/client_package/src NOTE Try to use as many error handlers as possible try {} catch {} Files that are needed for CEF will not be downloaded by this package
    1 point
×
×
  • Create New...