Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/24/20 in Files

  1. Version 1.0.0

    766 downloads

    Simple CEF to play custom mp3's in the background. The CEF autodestroys after the sound has finished to not use our beloved PC resources. Copy client_packages and packages content in their respective directory, then import them. You can put your mp3's inside client_packages/Sound/sounds/ and trigger them with their filename. Only mp3 is supported right now, although ogg works as well, it's easily exchangeable and/or extensible to allow for both. As of right now, you can play a sound with the "/playsound NAME" command. You can use this as you want, this is only a barebones example to show how it works. I have not experimented when it comes to max sound length / filesize. I'd like to know though
    1 point
  2. Version 1.0.1

    2056 downloads

    Hi everyone, I've decided to share my Animator resource which basically lets you play all animations avaliable in this list: https://wiki.gtanet.work/index.php?title=Animations I have converted it from GTA Network to RAGEMP recently. It's a very simple but useful script. Searching through the animations list is like looking for needle in the haystack, considering about 2/5 of all anims cannot be applied to ped and 1/2 of those you wouldn't really find use for. It's a great solution if you don't want to install any mods to view anims. Just include the file and preview! Save included. There are 12,365 animations to play. Some of anims do not work on player as they are intended to be used on props, vehicles, weapons etc. You can also experience a few seconds delay on some animations, but none of them causes crashes. After launching the Animator a drawText will appear in bottom-right corner of the screen, showing you which animation you are viewing including ID, animation group and name. How to install: UnZip the file and move the animation-viewer folder to bridge -> resources folder. Include animation-viewer resource in settings.xml. Move animator.js from animation-viewer folder to clientside_packages folder and include it in index.js. How to use: Type /animator to launch or close the animator. Type /animator help for in-game help. Type /animator skip [number] to skip to animation id. Type /animator save [savename] to save the animation. ( saves in server root folder in Saved_Animations.txt. ) Type /animator stop to stop currently playing animation. Use LEFT and RIGHT arrow keys to cycle through animations. Use UP and DOWN arrow keys to cycle through 100 animations at once. Notes: All animations are looped. Clientside file is minified. This resource is made for server developers. It sends huge amounts of data to clientside when launching so use it only to preview/save animations. You can see the code here: https://gitlab.com/Hazes/animator-viewer Changelog: [v1.0] Code has been sorted and is a bit more optimized. Fixed assembly reference error for those who didn't have System.IO.dll included in their main resource. Parsing the number in /animator skip now works correctly. Presentation:
    1 point
  3. Version 1.0.1

    1849 downloads

    This resource lets players choose their walking style. Selected walking style is synced to other players. Installing Put the files you downloaded in their respective places Download & install BasicMenu or NativeUI if you haven't yet, this script needs it Add require('walkingstyles') to client_packages/index.js All done Controls F5 Key - Show/hide walking style menu. Adding/Removing Walking Styles You can add/remove walking styles by changing walkingStyles array inside packages/walkingstyles/index.js, make sure your AnimSet is valid!
    1 point
  4. Version 1.1.0

    1644 downloads

    Installing Put the files you downloaded in their respective places Download & install Scaleform Messages if you haven't yet, this script needs it Add require('wasted') to client_packages/index.js All done Notes This script will make the players wait 8 seconds before spawning at the closest hospital. This script was not tested on a gamemode with custom death behavior, you might want to do some changes. Video Preview
    1 point
×
×
  • Create New...