You are viewing our Forum Archives. To view or take place in current topics click here.
CoD4 God Mode when button pressed | help <3
Posted:
CoD4 God Mode when button pressed | help <3Posted:
Status: Offline
Joined: Jan 27, 201113Year Member
Posts: 417
Reputation Power: 19
Call me an idiot if you wish but I have no idea how to do this :|
CoD4 mod menu, I want to set god mode to clients if they press a certain button..
So if someone in the game pressed DPAD_UP then they would get god mode
Ive tried 'self waittill( "DPAD_UP" );' and that didn't work
Someone help?<3
This is the god mode code...
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;
for( ;; )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
CoD4 mod menu, I want to set god mode to clients if they press a certain button..
So if someone in the game pressed DPAD_UP then they would get god mode
Ive tried 'self waittill( "DPAD_UP" );' and that didn't work
Someone help?<3
This is the god mode code...
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;
for( ;; )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
#2. Posted:
Status: Offline
Joined: Oct 22, 201310Year Member
Posts: 625
Reputation Power: 25
Status: Offline
Joined: Oct 22, 201310Year Member
Posts: 625
Reputation Power: 25
SimplyRTC wrote Call me an idiot if you wish but I have no idea how to do this :|
CoD4 mod menu, I want to set god mode to clients if they press a certain button..
So if someone in the game pressed DPAD_UP then they would get god mode
Ive tried 'self waittill( "DPAD_UP" );' and that didn't work
Someone help?<3
This is the god mode code...
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;
for( ;; )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
The Dvar for God Mode is
scr_csmode 99999;
I think that's correct? I haven't messed with CoD4 in a year
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Oct 22, 201310Year Member
Posts: 625
Reputation Power: 25
Status: Offline
Joined: Oct 22, 201310Year Member
Posts: 625
Reputation Power: 25
SimplyRTC wrote Call me an idiot if you wish but I have no idea how to do this :|
CoD4 mod menu, I want to set god mode to clients if they press a certain button..
So if someone in the game pressed DPAD_UP then they would get god mode
Ive tried 'self waittill( "DPAD_UP" );' and that didn't work
Someone help?<3
This is the god mode code...
doGod()
{
self endon ( "disconnect" );
self endon ( "death" );
self.maxhealth = 90000;
self.health = self.maxhealth;
for( ;; )
{
wait .4;
if ( self.health < self.maxhealth )
self.health = self.maxhealth;
}
}
The Dvar for God Mode is
scr_csmode 99999;
I think that's correct? I haven't messed with CoD4 in a year
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.