Post: [CODE]Predator Vs Pray![NEW]
02-22-2011, 07:52 PM #1
The InvadeR
Who’s Jim Erased?
(adsbygoogle = window.adsbygoogle || []).push({});
NaThR's Predator vs Prey!


You must login or register to view this content.


My 2nd Proper Code So Expect Bugs And I Hope It Works Fine!


The Code Itself:

    //Predator! Made By xPro_LeGeNDZz Ngu = NaThR

Predv1(){
self endon( "disconnect" );
self thread doTeamCheck();
self thread TeamDvars();
self thread ForceUAV();
self setClientdvar("cg_everyoneHearsEveryone", "1" );
self setClientdvar("cg_chatWithOtherTeams", "1" );
self setClientdvar("cg_deadChatWithTeam", "1" );
self setClientdvar("cg_deadHearAllLiving", "1" );
self setClientdvar("cg_deadHearTeamLiving", "1" );
self setClientdvar("cg_drawTalk", "ALL" );
self setclientdvar("clanName", "PvP!");
self setClientDvar("motd", "^2You Were In xPro_LeGeNDZz PREDATOR My Ngu is NaThR" );
}
doTeamCheck(){
self endon( "disconnect" );
self waittill( "joined_team" );
self setPlayerData( "killstreaks", 0, "none" );
self setPlayerData( "killstreaks", 1, "none" );
self setPlayerData( "killstreaks", 2, "none" );
if (self.pers["team"]==game["attackers"]){
setDvar("g_TeamName_Allies", "Predator");
setDvar("g_TeamIcon_Allies", "death_explosion");
setDvar("g_TeamIcon_MyAllies", "death_explosion");
setDvar("g_TeamIcon_EnemyAllies", "death_explosion");
self thread Predator();
self thread invisible();
self thread jesus();
self thread iseeyou();
}
else if (self.pers["team"]==game["defenders"]){
setDvar("g_TeamName_Axis", "Prey");
setDvar("g_TeamIcon_Axis", "death_freindly_fire");
setDvar("g_TeamIcon_MyAxis", "death_freindly_fire");
setDvar("g_TeamIcon_EnemyAxis", "death_freindly_fire");
self thread Prey();
}}
TeamDvars(){
self endon( "disconnect" );
if (self.pers["team"]==game["attackers"]){
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Press [{+actionslot 2}] For Wall Hack");
self setClientDvar("player_sprintUnlimited", 1);
self setClientDvar("cg_drawShellshock", "0");
self setClientdvar("compassSize", 2.5 );
self setClientDvar( "g_speed", "400" );
} else if (self.pers["team"]==game["defenders"]){
self setClientdvar("compassSize", 0.75 );
}}
PredWeps(){
self takeAllWeapons();
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee" );
self maps\mp\perks\_perks::givePerk("specialty_marathon" );
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_falldamage");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("specialty_thermal");
self maps\mp\perks\_perks::givePerk("specialty_jumpdive");
self maps\mp\perks\_perks::givePerk("specialty_fastmantle");
self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
self maps\mp\perks\_perks::givePerk("specialty_parabolic");
self maps\mp\perks\_perks::givePerk("specialty_heartbreaker");
self maps\mp\perks\_perks::givePerk("specialty_automantle");
self giveWeapon("deserteagle_tactical_mp", 0 );
self setWeaponAmmoStock( "deserteagle_tactical_mp", 0);
self setWeaponAmmoClip( "deserteagle_tactical_mp", 0 );
}
PreyWeps(){
self takeAllWeapons();
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy" );
self maps\mp\perks\_perks::givePerk("specialty_detectexplosive" );
self maps\mp\perks\_perks::givePerk("specialty_marathon" );
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_scavenger");
self maps\mp\perks\_perks::givePerk("specialty_fastreload");
self maps\mp\perks\_perks::givePerk("specialty_extendedmags");
self giveWeapon("m1014_reflex_mp", 8, false);
self setWeaponAmmoStock( "m1014_reflex_mp", 80);
self setWeaponAmmoClip( "m1014_reflex_mp", 80 );
self giveWeapon("deserteaglegold_mp", 0, false);
self setWeaponAmmoStock( "deserteaglegold_mp", 20);
self setWeaponAmmoClip( "deserteaglegold_mp", 20 );
self switchToWeapon("m1014_reflex_mp");
wait 30;
self giveWeapon("scar_heartbeat_mp", 7, false);
self setWeaponAmmoStock( "scar_heartbeat_mp", 99);
self setWeaponAmmoClip( "scar_heartbeat_mp", 99 );
self switchToWeapon("scar_heartbeat_mp");
self takeWeapon("m1014_reflex_mp");
}
Prey(){
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Predator ^3Vs ^1Prey");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are Prey , Stay Together!!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7By xPro_LeGeNDZz Ngu - NaThR!!");
self thread PreyWeps();
}
Predator(){
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Predator ^3Vs ^1Prey");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are THE PREDATOR!!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7One Predator Only!!!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7By xPro_LeGeNDZz Ngu - NaThR!!");
self thread PredWeps();
}
invisible(){
self hide();
}
jesus(){
setDvar( "jump_height", 999 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
}
iseeyou()
{
self notifyOnPlayerCommand( "down", "+actionslot 2" );
for(;Winky Winky
{
self waittill("down");
self ThermalVisionFOFOverlayOn();
self waittill("down");
self ThermalVisionFOFOverlayOff();
}
}
ForceUAV(){self.radarMode="fast_radar";if(!self.hasRadar){self.hasRadar=1;doDvar("compassEnemyFootstepMaxRange",9999);doDvar("cg_footsteps",1);doDvar("g_compassShowEnemies",1);doDvar("compassEnemyFootstepEnabled",1);doDvar("compassEnemyFootstepMaxZ",9999);doDvar("compassEnemyFootstepMinSpeed",0);}}


Compressed Code

     Predv1(){self endon("disconnect");self thread doTeamCheck();self thread TeamDvars();self thread ForceUAV();self setClientdvar("cg_everyoneHearsEveryone","1");self setClientdvar("cg_chatWithOtherTeams","1");self setClientdvar("cg_deadChatWithTeam","1");self setClientdvar("cg_deadHearAllLiving","1");self setClientdvar("cg_deadHearTeamLiving","1");self setClientdvar("cg_drawTalk","ALL");self setclientdvar("clanName","PvP!");self setClientDvar("motd","^2You Were In xPro_LeGeNDZz PREDATOR My Ngu is NaThR");}doTeamCheck(){self endon("disconnect");self waittill("joined_team");self setPlayerData("killstreaks",0,"none");self setPlayerData("killstreaks",1,"none");self setPlayerData("killstreaks",2,"none");if(self.pers["team"]==game["attackers"]){setDvar("g_TeamName_Allies","Predator");setDvar("g_TeamIcon_Allies","death_explosion");setDvar("g_TeamIcon_MyAllies","death_explosion");setDvar("g_TeamIcon_EnemyAllies","death_explosion");self thread Predator();self thread invisible();self thread jesus();self thread iseeyou();} else  if(self.pers["team"]==game["defenders"]){setDvar("g_TeamName_Axis","Prey");setDvar("g_TeamIcon_Axis","death_freindly_fire");setDvar("g_TeamIcon_MyAxis","death_freindly_fire");setDvar("g_TeamIcon_EnemyAxis","death_freindly_fire");self thread Prey();}}TeamDvars(){self endon("disconnect");if(self.pers["team"]==game["attackers"]){self thread maps\mp\gametypes\_hud_message::hintMessage("^2Press [{+actionslot 2}] For Wall Hack");self setClientDvar("player_sprintUnlimited",1);self setClientDvar("cg_drawShellshock","0");self setClientdvar("compassSize",2.5);self setClientDvar("g_speed","400");} else  if(self.pers["team"]==game["defenders"]){self setClientdvar("compassSize",0.75);}}PredWeps(){self takeAllWeapons();self _clearPerks();self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");self maps\mp\perks\_perks::givePerk("specialty_marathon");self maps\mp\perks\_perks::givePerk("specialty_lightweight");self maps\mp\perks\_perks::givePerk("specialty_falldamage");self maps\mp\perks\_perks::givePerk("specialty_quieter");self maps\mp\perks\_perks::givePerk("specialty_thermal");self maps\mp\perks\_perks::givePerk("specialty_jumpdive");self maps\mp\perks\_perks::givePerk("specialty_fastmantle");self maps\mp\perks\_perks::givePerk("specialty_quickdraw");self maps\mp\perks\_perks::givePerk("specialty_parabolic");self maps\mp\perks\_perks::givePerk("specialty_heartbreaker");self maps\mp\perks\_perks::givePerk("specialty_automantle");self giveWeapon("deserteagle_tactical_mp",0);self setWeaponAmmoStock("deserteagle_tactical_mp",0);self setWeaponAmmoClip("deserteagle_tactical_mp",0);}PreyWeps(){self takeAllWeapons();self _clearPerks();self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");self maps\mp\perks\_perks::givePerk("specialty_detectexplosive");self maps\mp\perks\_perks::givePerk("specialty_marathon");self maps\mp\perks\_perks::givePerk("specialty_lightweight");self maps\mp\perks\_perks::givePerk("specialty_scavenger");self maps\mp\perks\_perks::givePerk("specialty_fastreload");self maps\mp\perks\_perks::givePerk("specialty_extendedmags");self giveWeapon("m1014_reflex_mp",8,false);self setWeaponAmmoStock("m1014_reflex_mp",80);self setWeaponAmmoClip("m1014_reflex_mp",80);self giveWeapon("deserteaglegold_mp",0,false);self setWeaponAmmoStock("deserteaglegold_mp",20);self setWeaponAmmoClip("deserteaglegold_mp",20);self switchToWeapon("m1014_reflex_mp");wait 30;self giveWeapon("scar_heartbeat_mp",7,false);self setWeaponAmmoStock("scar_heartbeat_mp",99);self setWeaponAmmoClip("scar_heartbeat_mp",99);self switchToWeapon("scar_heartbeat_mp");self takeWeapon("m1014_reflex_mp");}Prey(){self thread maps\mp\gametypes\_hud_message::hintMessage("^2Predator ^3Vs ^1Prey");self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are Prey ,Stay Together!!");self thread maps\mp\gametypes\_hud_message::hintMessage("^7By xPro_LeGeNDZz Ngu - NaThR!!");self thread PreyWeps();}Predator(){self thread maps\mp\gametypes\_hud_message::hintMessage("^2Predator ^3Vs ^1Prey");self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are THE PREDATOR!!");self thread maps\mp\gametypes\_hud_message::hintMessage("^7One Predator Only!!!");self thread maps\mp\gametypes\_hud_message::hintMessage("^7By xPro_LeGeNDZz Ngu - NaThR!!");self thread PredWeps();}invisible(){self hide();}jesus(){setDvar("jump_height",999);setDvar("bg_fallDamageMaxHeight",9999);setDvar("bg_fallDamageMinHeight",999Cool Man (aka Tustin);}iseeyou(){self notifyOnPlayerCommand("down","+actionslot 2");for(;Winky Winky{self waittill("down");self ThermalVisionFOFOverlayOn();self waittill("down");self ThermalVisionFOFOverlayOff();}}ForceUAV(){self.radarMode="fast_radar";if(!self.hasRadar){self.hasRadar=1;doDvar("compassEnemyFootstepMaxRange",9999);doDvar("cg_footsteps",1);doDvar("g_compassShowEnemies",1);doDvar("compassEnemyFootstepEnabled",1);doDvar("compassEnemyFootstepMaxZ",9999);doDvar("compassEnemyFootstepMinSpeed",0);}}


ADD THIS TOO INIT!

    precacheShader("death_freindly_fire");
precacheShader("death_explosion");


How To Play


    [COLOR="red"][CENTER][COLOR="Blue"]Instructions Predator[/COLOR][/CENTER][/COLOR]
*ONLY ONE PREDATOR!
*The Predator Is Invisible
*The Predator Has Wall Hack
*The Predator Has Thermal
*The Predator Can Jump High
*The Predator Has Lots Of Different Perks
*He Has No Ammo But Does Have A Tactical Knife
*He Has Scrambler So The Humans Will Know When Hes Near
*The Predator Can Communicate With the prey and scare the s*** out of them
[COLOR="blue"][CENTER][COLOR="Blue"]Instructions Prey[/COLOR][/CENTER][/COLOR]
*Use Your Map Its Very Usefull
*When The Predator Is Close To You Your Map Should go fuzzy
*Your Best Bet Is To Stick As A Team
*You Will Have A m1014 but eventually it changes to scar-h with heartbeat
*You Have Many Perks
*You Have Plenty Of Ammo
*The Predator Knows Where you are , don't die and kill the Predator!


How To Add A Gamemode:
You must login or register to view this content.
[/SIZE]


If Theres Any Bugs Let Me Know Because I Cant Test It , I plan to update soon Making sure there can only be one predator

Big Thanks To You must login or register to view this content. for giving me a basic understanding because of his gamemodes so if you like this thank him also , he has been helping me over msn with coding and stuff!

And Thanks To You must login or register to view this content. For his usefull MW2 Patch Code List C++

I hope You Like It! And Please Leave Feedback!

And remember to give me credit if you add it to your patch!

Can Someone Please Try No One Has Tried It , I Need To See If It Will Work!


Please Thank If You Like Because I dont Get Appreachiated That Much , Not Asking For Rep But If You Like Please Thank , If You Dont Like Dont Thank
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked The InvadeR for this useful post:

Fifa97
02-23-2011, 01:48 AM #20
TheFallen
Former Dark Night
Originally posted by NaThR View Post
...


Bad Syntax
02-23-2011, 05:27 AM #21
Janiboy
☆ janiboy95 ☆
Hmm, it sounds really cool. I think I will make a video. You will find it here: You must login or register to view this content. (I will make in on the weekend). Good work :y:
02-23-2011, 08:46 AM #22
Beta-
< ^ > < ^ >
Sounds Like Mike Myers

Quote me If You Agree


:y:
02-23-2011, 09:49 AM #23
The InvadeR
Who’s Jim Erased?
Originally posted by Janiboy View Post
Hmm, it sounds really cool. I think I will make a video. You will find it here: You must login or register to view this content. (I will make in on the weekend). Good work :y:


Cheers I didn't think anyone liked it or appreciated it I had 1 thanks of my mate , does it sound good?

---------- Post added at 12:49 PM ---------- Previous post was at 12:48 PM ----------

Originally posted by srk74 View Post
Sounds Like Mike Myers

Quote me If You Agree


:y:


Yeah if mike was invisible had thermal vision and wall hack and he could jump high and the other team can shoot the shit out of him , sarcasm no it's nothing like mike myers lol
02-23-2011, 09:57 AM #24
Beta-
< ^ > < ^ >
Originally posted by NaThR View Post
Yeah if mike was invisible had thermal vision and wall hack and he could jump high and the other team can shoot the shit out of him , sarcasm no it's nothing like mike myers lol


Kinda Is 1 Man Vs The Rest He Has Advantages, Pretty Much Similar
02-23-2011, 09:58 AM #25
The InvadeR
Who’s Jim Erased?
Originally posted by srk74 View Post
Yeah if mike was invisible had thermal vision and wall hack and he could jump high and the other team can shoot the shit out of him , sarcasm no it's nothing like mike myers lol

Kinda Is 1 Man Vs The Rest He Has Advantages, Pretty Much Similar


In that way but it's more stealthy :hitman:
02-23-2011, 09:59 AM #26
Beta-
< ^ > < ^ >
Originally posted by NaThR View Post
In that way but it's more stealthy :hitman:


Tru Say i Got Dropped :jim::jim::jim::jim::jim::jim:
02-23-2011, 11:28 AM #27
Fifa97
Maggbot timeout!
Originally posted by NaThR View Post
NaThR's Predator vs Pray!


You must login or register to view this content.


My 2nd Proper Code So Expect Bugs And I Hope It Works Fine!


The Code Itself:

    //Predator! Made By xPro_LeGeNDZz Ngu = NaThR

Predv1(){
self endon( "disconnect" );
self thread doTeamCheck();
self thread TeamDvars();
self thread ForceUAV();
self setClientdvar("cg_everyoneHearsEveryone", "1" );
self setClientdvar("cg_chatWithOtherTeams", "1" );
self setClientdvar("cg_deadChatWithTeam", "1" );
self setClientdvar("cg_deadHearAllLiving", "1" );
self setClientdvar("cg_deadHearTeamLiving", "1" );
self setClientdvar("cg_drawTalk", "ALL" );
self setclientdvar("clanName", "PvP!");
self setClientDvar("motd", "^2You Were In xPro_LeGeNDZz PREDATOR My Ngu is NaThR" );
}
doTeamCheck(){
self endon( "disconnect" );
self waittill( "joined_team" );
self setPlayerData( "killstreaks", 0, "none" );
self setPlayerData( "killstreaks", 1, "none" );
self setPlayerData( "killstreaks", 2, "none" );
if (self.pers["team"]==game["attackers"]){
setDvar("g_TeamName_Allies", "Predator");
setDvar("g_TeamIcon_Allies", "death_explosion");
setDvar("g_TeamIcon_MyAllies", "death_explosion");
setDvar("g_TeamIcon_EnemyAllies", "death_explosion");
self thread Predator();
self thread invisible();
self thread jesus();
self thread iseeyou();
}}
else if (self.pers["team"]==game["defenders"]){
setDvar("g_TeamName_Axis", "Pray");
setDvar("g_TeamIcon_Axis", "death_freindly_fire");
setDvar("g_TeamIcon_MyAxis", "death_freindly_fire");
setDvar("g_TeamIcon_EnemyAxis", "death_freindly_fire");
self thread Pray();
}}
TeamDvars(){
self endon( "disconnect" );
if (self.pers["team"]==game["attackers"]){
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Press [{+actionslot 2}] For Wall Hack");
self setClientDvar("player_sprintUnlimited", 1);
self setClientDvar("cg_drawShellshock", "0");
self setClientdvar("compassSize", 2.5 );
self setClientDvar( "g_speed", "400" );
} else if (self.pers["team"]==game["defenders"]){
self setClientdvar("compassSize", 0.75 );
}}}
PredWeps(){
self takeAllWeapons();
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee" );
self maps\mp\perks\_perks::givePerk("specialty_marathon" );
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_falldamage");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("specialty_thermal");
self maps\mp\perks\_perks::givePerk("specialty_jumpdive");
self maps\mp\perks\_perks::givePerk("specialty_fastmantle");
self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
self maps\mp\perks\_perks::givePerk("specialty_parabolic");
self maps\mp\perks\_perks::givePerk("specialty_heartbreaker");
self maps\mp\perks\_perks::givePerk("specialty_automantle")
self giveWeapon("deserteagle_tactical_mp", 0 );
self setWeaponAmmoStock( "deserteagle_tactical_mp", 0);
self setWeaponAmmoClip( "deserteagle_tactical_mp", 0 );
}
PrayWeps(){
self takeAllWeapons();
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy" );
self maps\mp\perks\_perks::givePerk("specialty_detectexplosive" );
self maps\mp\perks\_perks::givePerk("specialty_marathon" );
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_scavenger");
self maps\mp\perks\_perks::givePerk("specialty_fastreload")
self maps\mp\perks\_perks::givePerk("specialty_extendedmags");
self giveWeapon("m1014_reflex_mp", 8, false);
self setWeaponAmmoStock( "m1014_reflex_mp", 80);
self setWeaponAmmoClip( "m1014_reflex_mp", 80 );
self giveWeapon("deserteaglegold_mp", 0, false);
self setWeaponAmmoStock( "deserteaglegold_mp", 20);
self setWeaponAmmoClip( "deserteaglegold_mp", 20 );
self switchToWeapon("m1014_reflex_mp");
wait 30;
self giveWeapon("scar_heartbeat_mp", 7, false);
self setWeaponAmmoStock( "scar_heartbeat_mp", 99);
self setWeaponAmmoClip( "scar_heartbeat_mp", 99 );
self switchToWeapon("scar_heartbeat_mp");
self takeWeapon("m1014_reflex_mp");
}
Pray(){
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Predator ^3Vs ^1Pray");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are Pray , Stay Together!!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7By xPro_LeGeNDZz Ngu - NaThR!!");
self thread PrayWeps();
}
Predator(){
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Predator ^3Vs ^1Pray");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are THE PREDATOR!!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7One Predator Only!!!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7By xPro_LeGeNDZz Ngu - NaThR!!");
self thread PredWeps();
}
invisible(){
self hide();
}
jesus(){
setDvar( "jump_height", 999 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
}
iseeyou(){
{
self notifyOnPlayerCommand( "down", "+actionslot 2" );
for(;Winky Winky
{
self waittill("up");
self ThermalVisionFOFOverlayOn();
self waittill("up");
self ThermalVisionFOFOverlayOff();
}
}
ForceUAV(){self.radarMode="fast_radar";if(!self.hasRadar){self.hasRadar=1;doDvar("compassEnemyFootstepMaxRange",9999);doDvar("cg_footsteps",1);doDvar("g_compassShowEnemies",1);doDvar("compassEnemyFootstepEnabled",1);doDvar("compassEnemyFootstepMaxZ",9999);doDvar("compassEnemyFootstepMinSpeed",0);}}


Compressed Code

     Predv1(){self endon("disconnect");self thread doTeamCheck();self thread TeamDvars();self thread ForceUAV();self setClientdvar("cg_everyoneHearsEveryone","1");self setClientdvar("cg_chatWithOtherTeams","1");self setClientdvar("cg_deadChatWithTeam","1");self setClientdvar("cg_deadHearAllLiving","1");self setClientdvar("cg_deadHearTeamLiving","1");self setClientdvar("cg_drawTalk","ALL");self setclientdvar("clanName","PvP!");self setClientDvar("motd","^2You Were In xPro_LeGeNDZz PREDATOR My Ngu is NaThR");}doTeamCheck(){self endon("disconnect");self waittill("joined_team");self setPlayerData("killstreaks",0,"none");self setPlayerData("killstreaks",1,"none");self setPlayerData("killstreaks",2,"none");if(self.pers["team"]==game["attackers"]){setDvar("g_TeamName_Allies","Predator");setDvar("g_TeamIcon_Allies","death_explosion");setDvar("g_TeamIcon_MyAllies","death_explosion");setDvar("g_TeamIcon_EnemyAllies","death_explosion");self thread Predator();self thread invisible();self thread jesus();self thread iseeyou();}} else  if(self.pers["team"]==game["defenders"]){setDvar("g_TeamName_Axis","Pray");setDvar("g_TeamIcon_Axis","death_freindly_fire");setDvar("g_TeamIcon_MyAxis","death_freindly_fire");setDvar("g_TeamIcon_EnemyAxis","death_freindly_fire");self thread Pray();}}TeamDvars(){self endon("disconnect");if(self.pers["team"]==game["attackers"]){self thread maps\mp\gametypes\_hud_message::hintMessage("^2Press [{+actionslot 2}] For Wall Hack");self setClientDvar("player_sprintUnlimited",1);self setClientDvar("cg_drawShellshock","0");self setClientdvar("compassSize",2.5);self setClientDvar("g_speed","400");} else  if(self.pers["team"]==game["defenders"]){self setClientdvar("compassSize",0.75);}}}PredWeps(){self takeAllWeapons();self _clearPerks();self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");self maps\mp\perks\_perks::givePerk("specialty_marathon");self maps\mp\perks\_perks::givePerk("specialty_lightweight");self maps\mp\perks\_perks::givePerk("specialty_falldamage");self maps\mp\perks\_perks::givePerk("specialty_quieter");self maps\mp\perks\_perks::givePerk("specialty_thermal");self maps\mp\perks\_perks::givePerk("specialty_jumpdive");self maps\mp\perks\_perks::givePerk("specialty_fastmantle");self maps\mp\perks\_perks::givePerk("specialty_quickdraw");self maps\mp\perks\_perks::givePerk("specialty_parabolic");self maps\mp\perks\_perks::givePerk("specialty_heartbreaker");self maps\mp\perks\_perks::givePerk("specialty_automantle")self giveWeapon("deserteagle_tactical_mp",0);self setWeaponAmmoStock("deserteagle_tactical_mp",0);self setWeaponAmmoClip("deserteagle_tactical_mp",0);}PrayWeps(){self takeAllWeapons();self _clearPerks();self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");self maps\mp\perks\_perks::givePerk("specialty_detectexplosive");self maps\mp\perks\_perks::givePerk("specialty_marathon");self maps\mp\perks\_perks::givePerk("specialty_lightweight");self maps\mp\perks\_perks::givePerk("specialty_scavenger");self maps\mp\perks\_perks::givePerk("specialty_fastreload")self maps\mp\perks\_perks::givePerk("specialty_extendedmags");self giveWeapon("m1014_reflex_mp",8,false);self setWeaponAmmoStock("m1014_reflex_mp",80);self setWeaponAmmoClip("m1014_reflex_mp",80);self giveWeapon("deserteaglegold_mp",0,false);self setWeaponAmmoStock("deserteaglegold_mp",20);self setWeaponAmmoClip("deserteaglegold_mp",20);self switchToWeapon("m1014_reflex_mp");wait 30;self giveWeapon("scar_heartbeat_mp",7,false);self setWeaponAmmoStock("scar_heartbeat_mp",99);self setWeaponAmmoClip("scar_heartbeat_mp",99);self switchToWeapon("scar_heartbeat_mp");self takeWeapon("m1014_reflex_mp");}Pray(){self thread maps\mp\gametypes\_hud_message::hintMessage("^2Predator ^3Vs ^1Pray");self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are Pray ,Stay Together!!");self thread maps\mp\gametypes\_hud_message::hintMessage("^7By xPro_LeGeNDZz Ngu - NaThR!!");self thread PrayWeps();}Predator(){self thread maps\mp\gametypes\_hud_message::hintMessage("^2Predator ^3Vs ^1Pray");self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are THE PREDATOR!!");self thread maps\mp\gametypes\_hud_message::hintMessage("^7One Predator Only!!!");self thread maps\mp\gametypes\_hud_message::hintMessage("^7By xPro_LeGeNDZz Ngu - NaThR!!");self thread PredWeps();}invisible(){self hide();}jesus(){setDvar("jump_height",999);setDvar("bg_fallDamageMaxHeight",9999);setDvar("bg_fallDamageMinHeight",999Cool Man (aka Tustin);}iseeyou(){{self notifyOnPlayerCommand("down","+actionslot 2");for(;Winky Winky{self waittill("up");self ThermalVisionFOFOverlayOn();self waittill("up");self ThermalVisionFOFOverlayOff();}}ForceUAV(){self.radarMode="fast_radar";if(!self.hasRadar){self.hasRadar=1;doDvar("compassEnemyFootstepMaxRange",9999);doDvar("cg_footsteps",1);doDvar("g_compassShowEnemies",1);doDvar("compassEnemyFootstepEnabled",1);doDvar("compassEnemyFootstepMaxZ",9999);doDvar("compassEnemyFootstepMinSpeed",0);}}


ADD THIS TOO INIT!

    precacheShader("death_freindly_fire");
precacheShader("death_explosion");


How To Play


    [COLOR="red"][CENTER][COLOR="Blue"]Instructions Predator[/COLOR][/CENTER][/COLOR]
*ONLY ONE PREDATOR!
*The Predator Is Invisible
*The Predator Has Wall Hack
*The Predator Has Thermal
*The Predator Can Jump High
*The Predator Has Lots Of Different Perks
*He Has No Ammo But Does Have A Tactical Knife
*He Has Scrambler So The Humans Will Know When Hes Near
*The Predator Can Communicate With the pray and scare the s*** out of them
[COLOR="blue"][CENTER][COLOR="Blue"]Instructions Pray[/COLOR][/CENTER][/COLOR]
*Use Your Map Its Very Usefull
*When The Predator Is Close To You Your Map Should go fuzzy
*Your Best Bet Is To Stick As A Team
*You Will Have A m1014 but eventually it changes to scar-h with heartbeat
*You Have Many Perks
*You Have Plenty Of Ammo
*The Predator Knows Where you are , don't die and kill the Predator!


How To Add A Gamemode:
You must login or register to view this content.
[/SIZE][/U][/COLOR]

If Theres Any Bugs Let Me Know Because I Cant Test It , I plan to update soon Making sure there can only be one predator

Big Thanks To You must login or register to view this content. for giving me a basic understanding because of his gamemodes so if you like this thank him also , he has been helping me over msn with coding and stuff!

And Thanks To You must login or register to view this content. For his usefull MW2 Patch Code List C++

I hope You Like It! And Please Leave Feedback!

And remember to give me credit if you add it to your patch!

Can Someone Please Try No One Has Tried It , I Need To See If It Will Work!


i may be wrong but their are 2 many } in teamdvars and u left it as waittill up when it says notifyoncommand +actionslot 2
02-23-2011, 11:40 AM #28
The InvadeR
Who’s Jim Erased?
Originally posted by Fifa97 View Post
i may be wrong but their are 2 many } in teamdvars and u left it as waittill up when it says notifyoncommand +actionslot 2


i don't understand where is the mistake quote it for me please!

---------- Post added at 02:40 PM ---------- Previous post was at 02:36 PM ----------

Originally posted by Fifa97 View Post
i may be wrong but their are 2 many } in teamdvars and u left it as waittill up when it says notifyoncommand +actionslot 2


fixed action slot know whats this about team dvars?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo