Garry's Mod

Garry's Mod

792 értékelés
Luapad for GMod 13
   
Díjazás
Kedvenc
Kedvenc
Törlés
Content Type: Addon
Addon Type: Tool
Címkék: misc
Fájlméret:
Közzétéve:
Frissítve:
39.779 KB
2012. nov. 11., 19:43
2013. júl. 28., 16:49
6 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Luapad for GMod 13

Leírás
An ingame text editor that lets you type and run lua scripts on both the server and the client. Type 'luapad' in the console to open the window. Also added is the command 'luapad_adminonly' (on by default), should be self explanatory.

Tip: I would recommend binding it to a key like this 'bind o luapad'

Original Author: DarKSunrise aka Assassini and Levybreak

Note: I do not take any credit for creating this addon, all I did was port it over as best as I could. Some features may have been lost and there are probably a couple minor bugs. I do not plan to continue updating this addon unless there is a fatal bug. If you find a fatal bug, please inform me! I might be able to fix it.

HEY YOU!: Check out this other awesome GMod Development IDE at this link:
http://facepunch.com/showthread.php?t=1245803
Népszerű témák Összes megnézése (7)
1
2017. jan. 24., 22:09
Files Marked with Red Symbol
Horse
0
2020. ápr. 15., 6:47
Luapad console command line arguments
[Sk$Bh]Trick or treat KID!
0
2019. júl. 10., 16:37
Any way to make code run automatically?
The Offensive Lemon
149 megjegyzés
LλMBDA Huge SCP / Gmod Fan márc. 16., 20:32 
I HATE THIS [Luapad for GMod 13] RunString(Ex):3: ')' expected near 'world'
1. pcall - [C]:-1
2. DoClick - lua/autorun/luapad.lua:601
3. OnMouseReleased - lua/vgui/dlabel.lua:254
4. unknown - lua/vgui/dmenuoption.lua:77
[Sk$Bh]Trick or treat KID! 2024. nov. 13., 11:18 
After reading the source the concommand calls "luapad.Toggle()" so the fix is:

if(luapad.Frame) then luapad.Frame:SetVisible(true) else luapad.Toggle() end
[Sk$Bh]Trick or treat KID! 2024. okt. 23., 11:45 
Different error this time when open a file in a tab.

[Luapad for GMod 13] lua/autorun/luapad.lua:350: attempt to index field 'PropertySheet' (a nil value)
1. AddTab - lua/autorun/luapad.lua:350
2. DoClick - addons/trackassemblytool_git/lua/autorun/trackassembly_init.lua:960
3. OnMouseReleased - lua/vgui/dlabel.lua:254
4. unknown - lua/vgui/dmenuoption.lua:77

luapad.AddTab("["..defTab.Nick.."]"..pnSelf:GetText(), fileRead(sFile, "DATA"), sDsv);

File exists. It is opened without problems the next time a tab is issued.
TheEndBoss_101 2023. dec. 3., 12:40 
@Takashi
For me it runs serverside, but luapad says it did not
Seong Gi-hun 2023. szept. 12., 12:41 
My rank does inherit from superadmin, and idk why it just denies it even though its my OWN server
Sparkz  [készítő] 2023. szept. 11., 17:28 
I'm not exactly sure how it works with ULX, but from what I'm reading the usergroup you're in needs to inherit from "admin" or "superadmin" in order for this add-on to recognize you as an admin.
Seong Gi-hun 2023. szept. 10., 14:56 
I tried adding myself to the superadmin group through ULX, it still disallowed me from using it
Sparkz  [készítő] 2023. szept. 10., 12:07 
@Brennan Goldbach Are you an admin on your own server? Luapad will check your usergroup before allowing server-side execution.
Seong Gi-hun 2023. szept. 9., 11:04 
It used to allow me to run scripts serversidedly but not anymore Idk why, even on my own server as a server host
Sparkz  [készítő] 2023. szept. 8., 19:28 
I haven't touched this in ages, is it broken now? Seemed to work for me when I did a quick test on local server.