10-31-2014, 18:52
Okay, so I'm having troubles wrapping my head around GSC coding as it is, I'm not sure why there are so many files and what belongs in where. I've read multiple posts on multiple forums and I can't understand how to work this command ![Confused Confused](https://www.itsmods.com/forum/images/smilies/confused.gif)
level._effect[ "nuke_aftermath" ] = loadfx( "dust/nuke_aftermath_mp" );
What I want is for someone to be able type a command (+dust) in the console and have the map covered in the smoke and debris from a nuke.
I've tried placing this code into the onPlayerSpawned() section, but I just don't understand what I need to type so I can put +dust into the console and have it execute the command, any help?
![Confused Confused](https://www.itsmods.com/forum/images/smilies/confused.gif)
level._effect[ "nuke_aftermath" ] = loadfx( "dust/nuke_aftermath_mp" );
What I want is for someone to be able type a command (+dust) in the console and have the map covered in the smoke and debris from a nuke.
I've tried placing this code into the onPlayerSpawned() section, but I just don't understand what I need to type so I can put +dust into the console and have it execute the command, any help?