|
Set NRG
Dec 25, 2008 1:17:19 GMT -5
Post by retroactive on Dec 25, 2008 1:17:19 GMT -5
How do you set NRG via console? Is it possible? I feel like handing out random NRG donations for Christmas.
|
|
|
Set NRG
Dec 25, 2008 2:18:56 GMT -5
Post by Colonel Sanders on Dec 25, 2008 2:18:56 GMT -5
I did a quick look through the donor tool. Yes it is possible but it's not implemented Lap would have to add the commands. (Or I could try do it )
|
|
|
Set NRG
Dec 25, 2008 3:16:50 GMT -5
Post by retroactive on Dec 25, 2008 3:16:50 GMT -5
I'd rather not mess with Lap's code, but maybe a small custom script that I could toss into ULX and admins could use with a console command such as setnrg bob 1000 ? Obviously if it's going to get done I need it tomorrow ;D Consider it my Christmas present.
|
|
|
Set NRG
Dec 25, 2008 6:31:31 GMT -5
Post by minimacker on Dec 25, 2008 6:31:31 GMT -5
Setnrg? Don't you mean 'addnrg' in this case?
What if bob has 9001 NRG! THE WORLD WOULD IMPLODE!
|
|
|
Set NRG
Dec 25, 2008 7:41:52 GMT -5
Post by Colonel Sanders on Dec 25, 2008 7:41:52 GMT -5
Well regardless , I've added the commands in a ULX file along with my new meloner. I didn't have time to make the person who was melon'd commandable. The person who is melon'd is about the same strength as a fighter but with 5k HP so it won't glitch [glow=red,100,300]Merry Christmas![/glow] Commands: !setnrg (player) (amount) ulx setnrg (player) (amount) !addnrg (player) (amount) ulx addnrg (player) (amount) !melon (player) !unmelon (player) ulx melon (player) ulx unmelon (player) Download: www.mediafire.com/download.php?tomeyy3wnxhPut it in your garrysmod\garrysmod\addons\ulx\lua\ulx\modules folder Works in solo so it should work in the server. All rights to the code go to Lap and MegaJohnny. I've only used their code Along with ULX code
|
|
|
Set NRG
Dec 25, 2008 8:03:22 GMT -5
Post by Colonel Sanders on Dec 25, 2008 8:03:22 GMT -5
Setnrg? Don't you mean 'addnrg' in this case? What if bob has 9001 NRG! THE WORLD WOULD IMPLODE! It's UNDER 9000!!!!!!!!!!
|
|
|
Set NRG
Dec 25, 2008 10:18:31 GMT -5
Post by Omen on Dec 25, 2008 10:18:31 GMT -5
Retro you never online on steam.... My steam id STEAM_0:1:6105378
|
|