Garry's Mod

Garry's Mod

Medic Kiosk (for DarkRP)
32 Comments
Lualp 16 Aug, 2023 @ 3:02am 
not work
LosokosG 17 Jul, 2020 @ 7:33am 
Thats awesome! I am gonna use it on every single server i own:summer2019city:
WaviestBalloon 1 Nov, 2019 @ 5:19am 
A version that you can perma prop? Just an idea.
Leeous  [author] 12 Sep, 2019 @ 11:48pm 
Fixed and final release, for now. :babydodo:
Leeous  [author] 19 Mar, 2018 @ 6:55am 
Something seems broken, update coming soon hopefully.
Leeous  [author] 14 Nov, 2017 @ 5:10pm 
@Fudall ♥
Fudall 14 Nov, 2017 @ 3:43pm 
Many thanks, a 10/10 addon.
Leeous  [author] 14 Nov, 2017 @ 2:08am 
@Fudall, there are no custom models in this addon. Users won't have to download anything. If you're downloading it manually, all you have to do is put the Medic Kiosk folder in your /addons/ folder on your server. :)
Fudall 12 Nov, 2017 @ 9:43pm 
Does this contain custom content that is required to see the kiosk or can the file be placed into the server's directory without issue.
Leeous  [author] 12 Jun, 2017 @ 3:53pm 
Okay, it's done. This should fix the problem for you.
v1.1.1 [github.com]
Alhevi 12 Jun, 2017 @ 3:51pm 
yea would be great, thanks
Leeous  [author] 12 Jun, 2017 @ 2:04pm 
Ah, I see the problem. I assume you downloaded that version from the releases page, and I haven't updated the release that would fix that problem. I'll do that ASAP if you want to redownload it.
Alhevi 12 Jun, 2017 @ 1:09pm 
Yea is working but strange that i have to download it and put it ito addons folder for myself, but thanks for help (Y)
Alhevi 12 Jun, 2017 @ 1:05pm 
So i downloaded this addon via ur github link and added it to addons folder, now i can see the entity in q list, also f4 is working, but got the lua problem, maybe i should now delete it from the workshop collection

There is 1 Lua problem!
Please check your console for more information!
[ERROR] A runtime error has occurred in "addons/medic-kiosk-1.1/lua/autorun/autoadd.lua" on line 5.
The best help I can give you is this:

Corrupt entity: Medic Kiosk!
This entity does not have a unique command.

Hints:
- There must be some other entity that has the same thing for 'cmd'.
- Fix this by changing the 'cmd' field of your entity to something else.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/medic-kiosk-1.1/lua/autorun/autoadd.lua on line 5
------- End of Simplerr error -------

Leeous  [author] 12 Jun, 2017 @ 1:00pm 
@Alhevi

Make sure you put the

["medic_kiosk"] = true,
["medic_kiosk_refill"] = true,

under the pocket blacklist, and not just anywhere in the file. The medickiosk_disableautoadd convar can only be set on the server console. If you wish for the entity to be automatically added to the medic job, make sure you have medickiosk_disableautoadd set to 0 .

If you still can't get it to work, you're more than welcome to message me so I can take a look at your config.
Alhevi 12 Jun, 2017 @ 12:54pm 
could it be server isnt getting the entity because if i try to medickiosk_disableautoadd in f10 consolte he said unknown command
?
Alhevi 12 Jun, 2017 @ 12:51pm 
yea server is running darkrp, notice that while i put ["medic_kiosk"] = true,
["medic_kiosk_refill"] = true, into blacklist pocketabkle, F4 isnt working (not loading)
Leeous  [author] 12 Jun, 2017 @ 12:50pm 
@Alhevi

It should be in your F4 menu, as a medic. Keep in mind this addon only works on DarkRP, not Sandbox or anything else.
Alhevi 12 Jun, 2017 @ 12:49pm 
and yes, server is using addon collection
Alhevi 12 Jun, 2017 @ 12:44pm 
is this down? do not get any entity for a medic kiosk
Leeous  [author] 4 Jun, 2017 @ 6:50pm 
@ZenithServers.co.uk

I'll message you, need to know more about config of your jobs guy.
Mr_sTuG 4 Jun, 2017 @ 2:23am 
Yeah there seems to be quite a few problems.

[ERROR] A runtime error has occurred in "lua/autorun/autoadd.lua" on line 20.

Corrupt entity: Medic Kiosk (Refill)!
This entity does not have a unique command.

Hints:
- There must be some other entity that has the same thing for 'cmd'.
- Fix this by changing the 'cmd' field of your entity to something else.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. lua/autorun/autoadd.lua on line 20

------- End of Simplerr error -------

1. error - [C]:-1
2. error - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
3. createEntity - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:613
4. unknown - lua/autorun/autoadd.lua:20

Timer Failed! [Simple][@lua/autorun/autoadd.lua (line 1)]
Mr_sTuG 3 Jun, 2017 @ 5:34pm 
I've put

DarkRP.createEntity("Medic Kiosk", {
ent = "medic_kiosk",
model = "models/props_lab/hevplate.mdl",
price = 500,
max = 1,
cmd = "Buymedickiosk",
allowed = {TEAM_Doctor}
})

in the entities file it shows correctly for the doctor job but wont allow it to be spawned. due to the incorrect job?
Mr_sTuG 3 Jun, 2017 @ 5:28pm 
Because at the moment all i get is you don't have the right job to medic kiosk...

i've set medickiosk_disableautoadd to true in console.
Mr_sTuG 3 Jun, 2017 @ 5:05pm 
What do i need to do to add this to a custom job. Just add it to the entities menu in the modfiles?
Leeous  [author] 7 May, 2017 @ 7:33am 
I apologize for the bug that was occurring due to something as simple as a undefined var because I moved them to a table. That is now fixed as of the latest patch.
Leeous  [author] 3 May, 2017 @ 2:08am 
Update coming soon, adding a cooldown for actually using the Medic Kiosk - to prevent abuse. Also added a new convar, medickiosk_minprice . The default value is $250.
Leeous  [author] 30 Oct, 2016 @ 11:44am 
Update later today, already updated desc. I think I'm done with this project unless a Garry's Mod update breaks it, then I'll fix it obviously.
Joe Budden 1 Oct, 2016 @ 8:02pm 
Thanks, going to to use it on my server!
Leeous  [author] 29 Sep, 2016 @ 2:06am 
@apoona I appericate it! <3
apoona 28 Sep, 2016 @ 9:04pm 
This is actually a wonderful thing to have in a server, especially for the medic. Can't wait to see the planned features added.
Leeous  [author] 28 Sep, 2016 @ 2:47pm 
Sorry for the excessive amount of updates, the program use to do updates did some updates twice, not sure why.