Post: Cod4 Co-Host Code?
01-01-2011, 03:05 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I want to add a code on host only patch, so my mates gets god mode aswell.

isCoHost(){
switch(self.name){
case "Mental":
case "Mental2":
return true;
default:
return false;
} }

I know this is from mw2, If not if any1 else knows a code that will, please post here.
(adsbygoogle = window.adsbygoogle || []).push({});
01-01-2011, 07:36 PM #2
I think this isn't possible in COD4 but i may be wrong Happy
01-01-2011, 08:35 PM #3
gangsta-
Pokemon Trainer
onPlayerSpawned()
{
self endon("disconnect");
for(;Winky Winky{
self waittill("spawned_player");
if((self.name == "Name")
|| (self.name == "Name")
|| (self.name == level.hostname))
{
self thread Co-Host();
}}}

i think that would be right, then add a thread for what you want them to have

The following user thanked gangsta- for this useful post:

mental_taliban

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo