Post: CoD4 Force Host Help
02-13-2012, 01:14 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Can somebody please tell me how to bind this to d-pad down...

doForce()
{
self setClientDvar( "party_hostmigration", 0);
self setClientDvar( "party_connectToOthers", 0);
wait 1;
self iPrintln("Force Host ^2On");
}


This is for a patch_mp.ff not game save.
(adsbygoogle = window.adsbygoogle || []).push({});
02-13-2012, 01:29 AM #2
Choco
Respect my authoritah!!
Originally posted by hockeykid2319 View Post
Can somebody please tell me how to bind this to d-pad down...

doForce()
{
self setClientDvar( "party_hostmigration", 0);
self setClientDvar( "party_connectToOthers", 0);
wait 1;
self iPrintln("Force Host ^2On");
}


This is for a patch_mp.ff not game save.


    forceHost()
{
self endon("disconnect");
self endon("death");
self thread doForce();
self giveWeapon("claymore_mp");
self SetActionSlot( 2, "weapon","claymore_mp" );
self.gun = self GetCurrentWeapon();
for(;Winky Winky
{
if(self GetCurrentWeapon() == "claymore_mp")
{
self notify("down");
self switchToWeapon(self.gun);
}
wait 0.05;
}
}

doForce()
{
self waittill("down");
self setClientDvar( "party_hostmigration", 0);
self setClientDvar( "party_connectToOthers", 0);
self iPrintln("Force Host ^2On");
}
02-13-2012, 01:58 AM #3
Originally posted by .Choco View Post
    forceHost()
{
self endon("disconnect");
self endon("death");
self giveWeapon("claymore_mp");
self SetActionSlot( 1, "weapon","claymore_mp" );
self.gun = self GetCurrentWeapon();
for(;Winky Winky
{
if(self GetCurrentWeapon() == "claymore_mp")
{
self notify("down");
self switchToWeapon(self.gun);
}
wait 0.05;
}
}

doForce()
{
self waittill("down");
self setClientDvar( "party_hostmigration", 0);
self setClientDvar( "party_connectToOthers", 0);
self iPrintln("Force Host ^2On");
}



So does that bind it to d-pad down? and whats with the claymore? lol
02-13-2012, 01:59 AM #4
Choco
Respect my authoritah!!
Originally posted by hockeykid2319 View Post
So does that bind it to d-pad down? and whats with the claymore? lol


Sorry that one binded to DPAD UP, I updated it for DPAD down :y:
02-13-2012, 02:03 AM #5
Originally posted by .Choco View Post
Sorry that one binded to DPAD UP, I updated it for DPAD down :y:



Where did u update it?
02-13-2012, 02:05 AM #6
Choco
Respect my authoritah!!
Originally posted by hockeykid2319 View Post
Where did u update it?


I edited my original reply, that script should work for you.
02-13-2012, 02:10 AM #7
ok thanks. and i just put it in a empty gsc and it should work right?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo