Jump to content

Leaderboard

Popular Content

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

  1. 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:
    3 points
  2. Version 1.0.2

    3830 downloads

    This resource probably won't get future updates, check out Currency API instead. Easy to use money system for your server. It handles saving&loading and provides you a custom data key to get/set a player's money. Installing Put the files you downloaded in their respective places Add require('moneyapi') to client_packages/index.js Open packages/moneyapi/constants.js and put your MySQL info (maybe edit the settings too while you're at it...) Congrats, you're all done Settings (packages/moneyapi/constants.js): startingMoney use this setting to change how much money players start with. Default: 0 autoSaveInterval use this setting to change how frequent auto saving happens (in minutes), you can set it to 0 if you want to disable auto saving. Default: 5 Example You can access a player's money from customMoney property using either .data.customMoney or .getVariable("customMoney"). mp.events.addCommand("smoney", (player, _, money) => { // set the player's money to the specified amount money = parseInt(money); if (!isNaN(money)) { player.data.customMoney = money; } else { player.outputChatBox("Invalid amount specified."); } }); mp.events.addCommand("cmoney", (player, _, amount) => { // change the player's money by the specified amount amount = parseInt(amount); if (!isNaN(amount)) { player.data.customMoney += amount; } else { player.outputChatBox("Invalid amount specified."); } }); mp.events.addCommand("buyhp", (player) => { // refill a player's health for $100 if (player.data.customMoney >= 100) { player.health = 100; player.data.customMoney -= 100; player.outputChatBox("Refilled health for $100."); } else { player.outputChatBox("You don't have $100."); } }); Notes First of all, thanks to @Donboo for their MySQL example which you can find here. This script won't save while the server is shutting down but will save player money when they disconnect or when autosave happens. This script uses an int(11) field to store a player's money. If you think $2147483647 isn't enough, you might want to change it. For some reason, MoneyAPI HUD elements will be off position in 1914x1080 windowed resolution. This script won't update the money display on the ESC/pause menu. (This note is obsolete if you're using the GameHUD version)
    1 point
  3. 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
  4. Class Usage scaleforms list - https://scaleform.devtesting.pizza/ Only CLIENT-SIDE
    1 point
  5. This script is started from Armyw0w's example script. Now this script contains an admin system with the following commands: /kick /spawn /a (admin chat) /veh /goto /dive (skyfall) /mypos (testing purpose) /makeadmin You can use these examples in order to create new systems. Download: https://github.com/Donboo/RageMP-Example
    1 point
×
×
  • Create New...