Post: Would this work in Cod4 Patch
01-01-2011, 12:27 AM #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-02-2011, 03:21 AM #2
nay1995
The Master
yes probably but the braces need to go like this:

}
}

---------- Post added at 10:21 PM ---------- Previous post was at 10:20 PM ----------

infact no this wouldnt work lol
01-02-2011, 05:03 AM #3
gangsta-
Pokemon Trainer
Originally posted by nay View Post
yes probably but the braces need to go like this:

}
}

---------- Post added at 10:21 PM ---------- Previous post was at 10:20 PM ----------

infact no this wouldnt work lol

you can leave the braces like this }} you could put that all in a line like this
    isCoHost(){switch(self.name){case "Mental":case "Mental2":return true;default:return false;}}

but this is a mw2 code so it would not work

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo