Garry's Mod

Garry's Mod

Not enough ratings
Simple Laundry (DarkRP)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay
File Size
Posted
31.040 KB
13 May, 2023 @ 6:20pm
1 Change Note ( view )

Subscribe to download
Simple Laundry (DarkRP)

In 1 collection by ThatCatGuy
Simple Collection DarkRP
9 items
Description

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀
Simple Laundry (DarkRP)

This is an update / rewrite to an older addon made by Blue https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2568913240.
Any bugs please comment and I will fix them ASAP.


Extra Info

  • This is for the Citizen job by default, but can be set to all jobs with a console command: simplelaundry_alljobs 1.


How to configure

    NPC Config

  • You can spawn the laundry entities from the Q menu.
  • You can save the entity locations on the current map by using console command simplelaundry_saveents.
  • You can remove the laundry entities locations on the current map by using console command simplelaundry_removeents this will prevent them spawning on the next restart..
  • You can respawn the laundry entities locations on the current map by using console command simplelaundry_respawnents this is handy if you just saved them or updated the saves it will remove them from the map and reload from the file so if you move one by mistake then use the respawn command and it will fix its position.

    Laundry Config

  • You can set the washing time by setting simplelaundry_washingtime xxx in your server console. (Default = 20 seconds)
  • You can set the sell price of the laundry by setting simplelaundry_sellprice xxx in your server console. (Default = 150 per item)
  • You can set the drying time by setting simplelaundry_dryingtime xxx in your server console. (Default = 10 seconds)
  • You can set the maximum finished laundry per basket by setting simplelaundry_maxlaundry xxx in your server console. (Default = 10 items per basket)
  • You can set the auto removal time for the laundry by setting simplelaundry_removetime xxx in your server console this will stop too many entities being spawned in at once and will remove once its been spawned in for the set time. (Default = 45 seconds from spawning)


How to spawn

  • They can be spawn from the Q menu by an superadmin and saved with console commands above.


GitHub Download

22 Comments
Blue 13 Jan @ 7:31pm 
Ah that makes sense! Thanks for the clarification 🙂.
Appreciate it, although I'm just happy to see it get picked up by somebody!
ThatCatGuy  [author] 9 Jan @ 4:24pm 
Sorry I got my wires crossed I was sent client files but I was linked to your add on the one I worked on was slightly more progressed than your original one one since yours was the base it was all built from that so that’s why you got the shoutout the concept was yours I just improved it and made it more easily applied and implemented. Thanks for the great work you did.
Blue 6 Jan @ 11:42pm 
I'd like to appreciate you shouting me out on this re-upload! I just accidentally stumbled upon this, noticed it looked oddly familiar, and saw the description. Looks like you've gone much, much further with this project than I did.

For (potentially) interesting context, I originally wrote this in 2020 for a PrisonRP server that never ended up releasing due to budget issues. Sadly, I never got the opportunity to go further with it. Seeing that somebody's picked this up and has gotten some potential use out of it has absolutely made my day :)
ThatCatGuy  [author] 26 Jun, 2024 @ 4:20pm 
if you are getting unknown command it means something went wrong when loading the addon. check the server log for errors.
Rabbit 26 Jun, 2024 @ 11:56am 
And when you try to do the command on your server "simplelaundry_sellprice" it says unknown command. D; Love the mod by the way!
ThatCatGuy  [author] 25 Jun, 2024 @ 8:49am 
will look into it asap
Rabbit 24 Jun, 2024 @ 4:33pm 
On the folded clothes basket the GUI cost it sales for does not update to your new value D;
(TR) General Gnomeᴳᴮ 6 Jan, 2024 @ 10:34am 
ok thanks
ThatCatGuy  [author] 6 Jan, 2024 @ 9:56am 
you dont need to add (Çamaşırcı) between the brackets

ply:Team() != TEAM_ÇAMAŞIRCI

restart server after
(TR) General Gnomeᴳᴮ 6 Jan, 2024 @ 9:50am 
dont work

function SimpleLaundryTeam(ply)
if ply:Team(Çamaşırcı) != TEAM_ÇAMAŞIRCI and !simplelaundry_alljobs:GetBool() then
Notify(ply, "Incorrect Job you must be a citizen!")
return true
else
return false