General > Developers Corner
Max hp healing Code needed!
Bytewave:
--- Quote from: Caustic Soda-Senpai on May 21, 2016, 10:11:43 PM ---That doesn't look like it'll run without commas
--- End quote ---
semicolons*
And according to OP, it does. I think Lua doesn't particularly care.
edit: Works in Lua 5.3:
--- Code: ---$ lua
Lua 5.3.2 Copyright (C) 1994-2015 Lua.org, PUC-Rio
> function hello() print("hello") print("test") print("1 2 3") end
> hello()
hello
test
1 2 3
--- End code ---
And in 5.1 (which, IIRC, is what GMod uses):
--- Code: ---$ lua5.1
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
> function hello() print("hello") print("test") print("1 2 3") end
> hello()
hello
test
1 2 3
--- End code ---
Caustic Soda-Senpai:
My mistake, I've been working with too many languages recently.
Navigation
[0] Message Index
[*] Previous page
Go to full version