Search the Community
Showing results for tags 'SAMP'.
Found 2 results
7 downloadsWhat is this? This is a simple money HUD for rage It is easy to add and use in your existing application or a new one! It is very similiar to SAMP's money HUD It contains nice animations on money adding/removing (Check the included GIF) How to install? Extract the MoneyHUD.js file in your client_packages and include it in your index.js require('./MoneyHUD.js'); How to use? Call event moneyhud:set on player initialization/connect to initialize player's starting money - Example: client.TriggerEvent("moneyhud:set", 5000); Call event moneyhud:add to add money to the HUD - Example: client.TriggerEvent("moneyhud:add", 1500); Call event moneyhud:remove to remove money from the HUD - Example: client.TriggerEvent("moneyhud:remove", 1500); Extra settings You can change the MINIMUM_LENGTH constant to determine how long should the money HUD be by minimum
Is it possible to integrate the server password system from SAMP that's very much needed, especially for private servers. This system can help prevent unauthorized users from downloading server files by instantly rejecting connection if the login was incorrect. It'll function pretty much the same way, login username and password can be defined in the server configuration file. The option to input the username and password would be alongside the server address in Direct Connect. Alternatively, have a Favorites tab where players can save the address of their preferred servers.