Lua starter project
Hi. I've started with Lua for a bit ago, I know functions, net library, script set-up, entities, if/else/then, and some more. Any idea what I can do to learn more, some project ideas? I've ran out of ideas and no idea what to do.
Thanks! Nickolay
Have you checked Garry's Mod wiki? Or this outdated wiki that has some tutorials?
http://wiki.garrysmod.com/page/Main_Page
https://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index7a06.html
Make a workshop addon, a gambling npc perhaps?
My first script that I have made seriously made it to the SF, I recommend making something less advanced tied with DarkRP, there's always market for it. Maybe custom ents, custom death module, it all seems easy to do. Currently I am working on "supply train" - Train drives through the map and people can hop onto it and steal its shipments and then hop off, you could try to make this, and then we could combine results and learn from each other, as I am beginner myself :)
ByPinguat 29th of March 2017 08:26:08
Have you checked Garry's Mod wiki? Or this outdated wiki that has some tutorials?http://wiki.garrysmod.com/page/Main_Pagehttps://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index7a06.html
Yes, I've read the Garry's Mod wiki. I've gotten through a lot of the projects/tutorials but I am looking for more, suggestions from others etc.
Thank you all for the suggestions. It can be quite fun, R4K0, haven't really gotten much into entities yet expect making Derma's for it. But I am going to start coding soon, been off from it for a while due no time, could be cool to do this =)
Edit: I've been searching through for the function when a player get arrested on DarkRP but I can't find anything expect arrest function. Any ideas?
I believe you need to look into DRP's hooks not functions. http://wiki.darkrp.com/index.php/Category:Hooks hook: playerArrested, it returns who was arrested, the time he was arrested for and who arrested him.
Edit: You haven't mentioned that you learned anything about hooks. Look it up, very useful, for example: to do a command you need to hook the command function onto PlayerSay hook, which then lets you use values like: last player who spoke on the chat, what did they say, and was it team chat etc.