• Fairly new to the forums and Lua
    18 replies, posted
Hey guys I'm pretty new to Lua and the forums but I can understand what a line means most of the time and is basically all I have for experience. I was wondering what I would need to do to make a item for the DarkRP game mode. I'm trying to make a item that has a canister model and when "use'd" in your inventory it appears on the ground in front of you and when pressed E on sprays smoke and anything in certain radius of the canister that is on fire becomes no longer on fire. Basically I have no idea where I would put the files in the DarkRP folder, whether it's considered a SWEP, what files I would need to make, and what guidelines I would have to follow. I'd like to thank you all for helping me before hand as well so thanks :smile:
Define inventory [editline]1st September 2011[/editline] like, the swep selection?
Face punch thread. [url]http://www.facepunch.com/showthread.php?t=874539[/url] (The version I'm using is below in a post) Garrysmod.org thread [url]http://www.garrysmod.org/downloads/?a=view&id=97223[/url] By the way fast response time... man that's really fast. I think I answered your question? [B]Edited:[/B] I'm just happy as hell I can finally have someone help me... everyone I ask either wants money or is buzy.
Step 1: Go away from dark rp Step 2: NP++ Step 3: lua/autorun
[QUOTE=LauScript;32068225]Step 1: Go away from dark rpStep 2: NP++Step 3: lua/autorun[/QUOTE] sublime is better than NP++ All the people rating me dumb are notepad++ fanboys
I'm confused... I already have Notepad ++ I'm not a complete Lua noob, I have quite basic Lua knowledge could you detail step one and three a little more?.
Don't use darkRP, it's frowned upon. Step 3 means try making your own stuff, like for example simple stuff [lua] function PrintStuff() print("I made my first function!") end [/lua]
Why's it frowned upon? :suicide:
[QUOTE=Gfoose;32068563]sublime is better than NP++[/QUOTE] Old news Only cool kids can afford ST2. :myface:
[QUOTE=|AOD| Fallen;32069195]Why's it frowned upon? :suicide:[/QUOTE] Anyone? [editline]1st September 2011[/editline] Well if someone still could help me with what I originally need help with that would be great... haven't really got much help.
[QUOTE=|AOD| Fallen;32069195]Why's it frowned upon? :suicide:[/QUOTE] [media]http://www.youtube.com/watch?v=Jx0tj0FpPsI[/media]
[QUOTE=DeveloperConsol;32071836][media]http://www.youtube.com/watch?v=Jx0tj0FpPsI[/media][/QUOTE] Damn, that's a very good way of explaining it, will def use this sometimes.
Meh. Some DarkRP servers are good, it's just minges and bad admins that ruins it.
[QUOTE=|AOD| Fallen;32067414]Hey guys I'm pretty new to Lua and the forums but I can understand what a line means most of the time and is basically all I have for experience. I was wondering what I would need to do to make a item for the DarkRP game mode. I'm trying to make a item that has a canister model and when "use'd" in your inventory it appears on the ground in front of you and when pressed E on sprays smoke and anything in certain radius of the canister that is on fire becomes no longer on fire. Basically I have no idea where I would put the files in the DarkRP folder, whether it's considered a SWEP, what files I would need to make, and what guidelines I would have to follow. I'd like to thank you all for helping me before hand as well so thanks :smile:[/QUOTE] ---TOPIC---^^^^^ -.- why is my thread getting derailed. Can someone help please?
[QUOTE=Remscar;32069268]Old news Only cool kids can afford ST2. :myface:[/QUOTE] you dont have to buy it?
[QUOTE=|AOD| Fallen;32079952]---TOPIC---^^^^^ -.- why is my thread getting derailed. Can someone help please?[/QUOTE] PERP has a nice item system and inventory, don't steal it, but you can learn and adapt the framework to your own needs.
only coold kids can survive lua
Sorry, you need to Log In to post a reply to this thread.