Garry's Mod Leaks

[LEAK] Credit Store | Flat UI | Permanent Weapons | Donations (v. 1.7.0)

Submitted by akbarsyam, , Thread ID: 106744

Thread Closed
akbarsyam
Member
Level:
0
Reputation:
0
Posts:
100
Likes:
12
Credits:
6
20-11-2018, 07:49 AM
This post was last modified: 22-11-2018, 12:02 PM by akbarsyam
#1
https://www.gmodstore.com/market/view/4663
Content locked
This content has been locked. Please login or register in order to unlock it.


What is this script?
This script is a credit store system which allows players to get credits and then spend those credits on items inside an NPC store, these items could be player models, permanent weapons, cash, health or armor Etc. All items can be added to a config and can be given a custom function. Players can earn credits by exchanging DarkRP cash at an NPC, PayDays and more.
Why should I buy this script?
Well, this script improves the experience of your server for your players as it means that when donating they only have to make 1 purchase outside of the game and can then make many more purchases in game with credits, also makes players want to play on the server more as they can be given credits for just playing on the server, also it makes the server more unique and fun for the players as it gives them something to work for and it adds some flare to your server.
Features
  • Unique Flat UI theme
  • Easily Add themes, items and websites
  • Permanent Weapons
  • Credit HUD
  • Permanent NPC system
  • PayDay System (Credits for playing on the server)
  • MySQL Support
  • Custom commands
  • Exchange system - players can exchange money/credits for money/credits
  • Players can customize menu's color
  • Promocodes, you can set promocodes which players can enter for free credits.
  • Language File - easy to change text
  • Categories - easily organise items
  • Perma DLC
[size=undefined]
What can be bought with Credits?
Well, anything can be bought with credits as each item can be given its own custom function to run when the item is bought, this could mean that quite a lot can be done. But, what is there by default? There are armor and health items, DarkRP cash, player models, weapons, Permanent Weapons, ULX/ServerGuard user groups, and cars. But with a little bit of lua knowledge you can add way more, or if you don't want to do that, just create a support ticket and I will be sure to help you out!
How can Player's get Credits?[/size]
  • Custom commands (/addcredits, /setcredits)
  • Exchange DarkRP cash to credits at an NPC
  • For playing on the server
  • Using simple functions (player:AddCredits( amount ))
  • Through your donation system
[size=undefined]
Installation[/size]

  1. Drag the 'credit_shop' folder into your 'addons' folder
  2. Edit the config/items/themes in 'creditshop/lua/csmainconfig.lua'
  3. Now restart the server and go in-game.
  4. When in-game, as admin, type in console
    shopnpc_setpos "UNIQUE_NAME"
  5. to set the Shop NPC Position or

    exchangenpc_setpos "UNIQUE_NAME"
  6. to set the Exchange NPC Position.
  7. Then restart your server!
[size=undefined]
Workshop Content
Steam Workshop addon:
https://steamcommunity.com/sharedfiles/f...1536798486
You can either use fastDL or you can add this to your lua/autorun/server/workshop.lua
resource.AddWorkshop( "1536798486" ) -- Credit Store - Content

How to give credits?
Use this snippet of code within your donation system, Prometheus has an option in which you can do this.
Code: ply:AddCredits( amount )

In-game Commands![/size]
  • "/addcredits (Player) (Amount)"
  • "/setcredits (Player) (Amount)"
[size=undefined]
MySQL Support Installation
Step 1: You need to make sure you have MySQLoo v9 installed.
Step 2: Set CreditShopConfig.UseSQL to true. Step 3: Go into lua/autorun/server/sqlcreditsys.lua
Step 4: Set useSQL to true and enter all your MySQL information, then you are done.
Support
I provide support for the script through the discussions section and through support tickets, also if you add me on steam I will be happy to help![/size]
The link in this hidden content has been reported as down 0 times this month.
1 times in total

Users browsing this thread: 1 Guest(s)