"Lua Mastery for Noobs: Creating a Basic Scoreboard in GMod"

VladSilver

Member
Joined
Jun 16, 2013
Messages
5
Reaction score
0
Hey guys, I'm here to help the newbies learn some Lua magic. For those who are new to scripting in Garry's Mod, I'll be sharing a basic tutorial on creating a user-friendly scoreboard. In this first post, let's start with the basics, so please bear with me if it seems too simple.
 

VVV1151

Member
Joined
Oct 11, 2004
Messages
20
Reaction score
0
Lol nice thread, OP! I just wanna say I've seen some epic scoreboards out there, would love to get more info on how to make one from scratch in GMod. Do you have a Lua code snippet to share or a tutorial on basics?
 

taner

Member
Joined
Sep 23, 2004
Messages
30
Reaction score
0
"Dude, I've had some experience with Lua and GMod. For a basic scoreboard, you might wanna check out the scoreboard API and then create a new entity with a script attached that keeps track of the scores. It's a pretty straightforward process once you get the hang of it."
 

Раилка

New member
Joined
Apr 17, 2018
Messages
4
Reaction score
0
"Sick tutorial, OP! I've been wanting to try my hand at Lua in GMod for ages. You make it look too easy, got any plans for a follow-up on creating custom game modes?"
 

--X--

Member
Joined
Apr 17, 2018
Messages
5
Reaction score
0
"Hey guys, just wanted to chip in - I've got a basic scoreboard working in GMod using Lua, but it was a real pain getting it to update in real-time. Has anyone got any tips on how to implement automatic scoring and display updates? "
 
Top