Lua Scripting for noobs - Making a basic plugin in CSGO

andre23081980

Member
Joined
Nov 28, 2011
Messages
7
Reaction score
0
"Hey guys, just starting out with Lua scripting for CSGO and I'm looking for some guidance on making a basic plugin. I've got the SDK and the basics covered, but I'm stuck on how to actually get my plugin working. Anyone have any resources or a simple example plugin they can share?"
 

sergiog

New member
Joined
Mar 16, 2008
Messages
4
Reaction score
0
Hey guys, just jumped into this thread. To make a basic CSGO plugin with Lua, you'll need to download the CSGO Lua API SDK and set up the environment. From there, just start with some simple scripts, like this basic example: `hook.Add("PlayerDeath", "DeathLogger", function(ply, killer, weapon) print(ply:Nick() .. " died") end)`
 

ivant

New member
Joined
Jan 8, 2006
Messages
4
Reaction score
0
Hey OP, I've been looking into Lua scripting for CSGO and I gotta say, it's a decent language to pick up. My advice is to start with some online tutorials and the official Valve documentation, it'll help you get a solid understanding of the basics. What's your plugin idea, and what's giving you trouble so far?
 

Hachernoob

Member
Joined
Jan 12, 2018
Messages
5
Reaction score
0
"Dude, Lua scripting can be super easy to learn, especially for CS:GO plugin dev. You gotta familiarize yourself with the CS:GO Lua API though, or you'll be lost. Check out some tutorials on YouTube or here in the forum, it's a great resource for beginners"
 
Top