Garry's Mod

Garry's Mod

30 hodnocení
Garryspot
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: NPC
Addon Tags: Roleplay, Realism
Velikost souboru
Přidáno
6.655 KB
31. říj. 2018 v 15.58
Poznámky ke změnám (1) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Garryspot

V 1 kolekci od uživatele allbrancereal :3
DarkRPBox
8 položek
Popis
Please join my Server if your looking for a customized roleplay experience! 198.98.56.23:27015

Foreword
Source code can be found on github,
https://github.com/TibbaRrule/garryspot
Support me by subscribing to my youtube channel, https://www.youtube.com/channel/UCVYG2ZDHynAXgYLP6J9hxUg
For any problems please open a discussion.

Credits go to Acecool teaching me how to program.

A fully functional weed addon, the weed itself is a currency you collect from entities

Features
  • A currency system that saves a count to the local server
  • A NPC that will purchase currency from you with cooldowns
  • DarkRP integration for jobs (double count)
  • If you wear a tag you get a supporter bonus
  • If you are marked as VIP you get extra percentage as bonus money on sale.

Is this compatible with every gamemode?
A: Yes as long as you find a way to spawn the entity and show your pot count. Remove the class references as they won't be in your gamemode unless you wrote a macro link between your own job implementation in the gamemode. Just declare jobs as integers and give them variable names (DarkRP returns a number with DarkRP.createJob, while logging a table of job information). This explicitly implies that jobs are a part of your gamemode, you can also make the condition something else.
Is there any workshop addons I need?
A: Yea I made a cannabis model [1] for it, you may have seen it on other servers, the NPC uses a Snoop Dogg Model [2].
  • 1: https://gtm.you1.cn/sharedfiles/filedetails/?id=416236698
  • 2: https://gtm.you1.cn/sharedfiles/filedetails/?id=348376962
    Config
    GlobalWeedConfig = {} GlobalWeedConfig.WPPMin = 25// Minimum weed you get per plant GlobalWeedConfig.WPPMax = 45// Maximum you can get outta a plant! GlobalWeedConfig.WLPPMin = 5// Minimum weed you get per plant that is late GlobalWeedConfig.WLPPMax = 15// Maximum you can get outta a plant that is late! GlobalWeedConfig.SnoopPosition = Vector(0,0,0) // Where will snoop dogg spawn? GlobalWeedConfig.SnoopAngle = Angle(0,0,0) // Where will snoop dogg look at? GlobalWeedConfig.WeedHealth = 100 // How much damage can a plant endure until dying? GlobalWeedConfig.DoubleClasses = {TEAM_CANCERPATIENT} // If your class is in the table you get double weed every time // {TEAM_STONER, TEAM_POTPLACE} multiple // {TEAM_STONER} single GlobalWeedConfig.PercInc = {TEAM_CANCER} // If your class is in the table you get the percentage increased on pickup every time by a random percentage determined by GlobalWeedConfig.PercPlusMin & GlobalWeedConfig.PercPlusMax GlobalWeedConfig.PercPlusMin = 0.10 // Percentage increased minimum GlobalWeedConfig.PercPlusMax = 0.25 // Percentage increased maximum GlobalWeedConfig.PoliceReward = 200 // If you are a cop you get 200 for confiscating a single weed plant! GlobalWeedConfig.SellPrice = 50; // How much is 1 weed worth? GlobalWeedConfig.SellDistance = 30; // How far away from snoop can you be when selling? GlobalWeedConfig.CooldownNonVIP = 300; GlobalWeedConfig.CooldownVIP = 120; GlobalWeedConfig.VIPIdentifier = "[560RP]"; GlobalWeedConfig.VIPUserGroups = { donator = true; admin = true; superadmin = true; owner = true; };
Populární diskuze Zobrazit vše (1)
0
1. lis. 2018 v 14.32
Bugs
allbrancereal :3
Počet komentářů: 2
Azure 10. led. 2022 v 11.05 
You need a models
Tyrone Fingglebotom 26. čvn. 2021 v 17.01 
when i spawn the weed plant it just shows ERROR