What's new

Solved A Mod idea

  • Thread starter EG Nightmare
  • Start date
  • Views 447
Status
Not open for further replies.
E

EG Nightmare

Enthusiast
Messages
140
Reaction score
12
I was thinking it would be a good idea for someone to make this new mod!
How it works
When someone calls in a nuke and they earn another one instead of it saying Nuke already inbound it adds time to the nuke

If someone csn work on making this can you send me the code? That would be great





Thank You!
 
M

MonsTeR Maniiac

Enthusiast
Messages
101
Reaction score
2
Sounds cool but would be kinda worthless too.
 
E

EG Nightmare

Enthusiast
Messages
140
Reaction score
12
It would but im sorta tired of letting extra nukes go to waste too!
 
T

teh1337

Some call me the Dear Leader-most just say teh1337
Messages
1,553
Reaction score
2,214
Umm....




Make a state ment like if self.kills==25{
self waittill("dpad_left");

x=getDvarInt( "scr_nuketimer" );
setDvar( "scr_nuketimer", x+100);
}

Sorry a bit tired so cant give u great answer
 
C

Code Junky

Enthusiast
Messages
427
Reaction score
86
Umm....




Make a state ment like if self.kills==25{
self waittill("dpad_left");

x=getDvarInt( "scr_nuketimer" );
setDvar( "scr_nuketimer", x+100);
}

Sorry a bit tired so cant give u great answer
It would be something like:

if self.kills==25
{
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
self waittill("dpad_left");
x=getDvarInt( "scr_nuketimer" );
setDvar( "scr_nuketimer", x+100);
}
 
E

EG Nightmare

Enthusiast
Messages
140
Reaction score
12
Do i need to do the dpad setting or can i just add

setDvar( "scr_nuketimer", x+100);
 
C

Code Junky

Enthusiast
Messages
427
Reaction score
86
Do i need to do the dpad setting or can i just add

setDvar( "scr_nuketimer", x+100);
I believe it would be...
selfsetclientDvar( "scr_nuketimer",100);
Since you dont declare the value of x you cant use it in the dvar.
Ill look into it after school tomorrow.
 
I

Injection

Enthusiast
Messages
657
Reaction score
82
more like
Code:
if self.kills==25
Newmodidea
{
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" ); 
{
self waittill("dpad_left");
x=getDvarInt( "scr_nuketimer" );
setDvar( "scr_nuketimer", x+100);
}
}
 
E

EG Nightmare

Enthusiast
Messages
140
Reaction score
12
Well my dpad settings are full so how do i add this into my Dvars?
 
M

MaGiicK MoDzZ

Enthusiast
Messages
371
Reaction score
36
Theres a dvar that lets you set how long the nuke timer is? Its basically the same thing, just one one nuke
 
N

Nickelodeon

Enthusiast
Messages
944
Reaction score
169
more like
Code:
if self.kills==25
Newmodidea
{
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" ); 
{
self waittill("dpad_left");
x=getDvarInt( "scr_nuketimer" );
setDvar( "scr_nuketimer", x+100);
}
}

Code:
biggerNukeDelay()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "button_x", "+usereload" );

self waittill( "button_x" );
value = getDvarInt( "scr_nuketimer" );
value = value + 60; // add 60 seconds to the timer
setDvar( "scr_nuketimer", value );
self iPrintlnBold( "scr_nuketimer = ", value );
self thread biggerNukeDelay();
}
something like this
 
Status
Not open for further replies.
Top Bottom