Post: [Gamemode] Knife Only
02-19-2011, 05:47 PM #1
Fifa97
Maggbot timeout!
(adsbygoogle = window.adsbygoogle || []).push({}); CREDIT TO Chrome Playa for fixing bugs and for making a vid
    KnifeOnly(){
self endon("disconnect");
self takeAllWeapons();
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_quieter");
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 thread BullPr();
self thread welcome1();
self thread PistolMenu();
wait 5;
self thread welcome2();
self thread Thermal();
}
welcome1(){
notifyData = spawnstruct();
notifyData.iconName = level.icontest;
notifyData.titleText = "Knifing Only!";
notifyData.notifyText = "Pick your Pistol";
notifyData.notifyText2 = "Press [{+actionslot 2}] to activate Pistol Menu";
notifyData.glowColor = (0.0, 0.0, 1.0);
notifyData.duration = 5;
notifyData.font = "DAStacks";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
welcome2(){
notifyData2 = spawnstruct();
notifyData2.titleText = "Knifing Only!";
notifyData2.notifyText = "You are Bullet Proof";
notifyData2.notifyText2 = "Press [{+frag}] to activate Thermal Vision";
notifyData2.glowColor = (0.0, 0.0, 1.0);
notifyData2.duration = 5;
notifyData2.font = "DAStacks";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData2 );
}
PistolMenu(){
self endon("death");
self notifyOnPlayerCommand( "down", "+actionslot 2" );
for (;Winky Winky
{
self waittill("down");
self thread pickPistol();
}}
pickPistol(){
self thread notifyText();
self thread DesEagle();
self thread Magn();
self thread M9();
self thread USP();
}
notifyText(){
self thread text1();
wait 4;
self thread text2();}
text1(){
Pistol = spawnstruct();
Pistol.titleText = "Pistol Binds";
Pistol.notifyText = "Press [{+actionslot 1}] for Desert Eagle";
Pistol.notifyText2 = "Press [{+actionslot 3}] for .44 Magnum";
Pistol.glowColor = (0.0, 0.0, 1.0);
Pistol.duration = 4;
Pistol.font = "DAStacks";
self thread maps\mp\gametypes\_hud_message::notifyMessage( Pistol );
}
text2(){
Pistol = spawnstruct();
Pistol.titleText = "Pistol Binds";
Pistol.notifyText = "Press [{+actionslot 4}] for M9";
Pistol.notifyText2 = "Press [{+usereload}] for USP.45";
Pistol.glowColor = (0.0, 0.0, 1.0);
Pistol.duration = 7;
Pistol.font = "DAStacks";
self thread maps\mp\gametypes\_hud_message::notifyMessage( Pistol );}

DesEagle(){
self endon("death");
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for (;Winky Winky{
self waittill( "up" );
self giveWeapon("deserteagle_tactical_mp", 0, false);
self switchToWeapon("deserteagle_tactical_mp");
self setWeaponAmmoClip( "deserteagle_tactical_mp", 0 );
self iPrintlnBold("Desert Eagle!");
}}
Magn(){
self endon("death");
self notifyOnPlayerCommand( "left", "+actionslot 3" );
for (;Winky Winky{
self waittill( "left" );
self giveWeapon("coltanaconda_tactical_mp", 0, false);
self switchToWeapon("coltanaconda_tactical_mp");
self setWeaponAmmoClip( "coltanaconda_tactical_mp", 0 );
self iPrintlnBold(".44 Magnum!");
}}
USP(){
self endon("death");
self notifyOnPlayerCommand( "square", "+usereload" );
for (;Winky Winky{
self waittill( "square" );
self giveWeapon("usp_tactical_mp", 0, false);
self switchToWeapon("usp_tactical_mp");
self setWeaponAmmoClip( "usp_tactical_mp", 0 );
self iPrintlnBold("USP.45!");
}}
M9(){
self endon("death");
self notifyOnPlayerCommand( "right", "+actionslot 4" );
for (;Winky Winky{
self waittill( "right" );
self giveWeapon("beretta_tactical_mp", 0, false);
self switchToWeapon("beretta_tactical_mp");
self setWeaponAmmoClip( "beretta_tactical_mp", 0 );
self iPrintlnBold("M9!");
}}
Thermal(){
self endon("death");
self notifyOnPlayerCommand( "knife", "+frag" );
for (;Winky Winky{
self waittill( "knife" );
self iPrintlnBold("Thermal vision");
self maps\mp\perks\_perks::givePerk("specialty_thermal");
}}
BullPr(){
self endon("disconnect");
self endon("death");
self iPrintlnBold("You are Bullet proof");
self.maxhealth = 1000;
while(1){
if(self.health >= self.maxhealth - 13Cool Man (aka Tustin){
if(self.health < self.maxhealth - 130){
self suicide();
}} else {
self.health = self.maxhealth;}
wait 0.05;}
}

Enjoy
add to init
    precacheShader("cardicon_simplegun");
level.icontest = "cardicon_simplegun";

IF level.icontest is somethin else just change it
AND
if ur askin why i added bullet proof its to stop any glitches such as unlimited ammo coz u wont be able 2 kill any1.
DESCRIPTION:
You start off with no weapons and it prompts you to pick a pistol
All players are bullet proof to stop cheating
Perks given are:
Ninja,commando,marathon,lightweight
You have the option to activate thermal
I may edit speed soon
[ame="https://www.youtube.com/watch?v=rJ6qV3X6DYs"]https://www.youtube.com/watch?v=rJ6qV3X6DYs[/ame]
Thanks again Chrome Playa
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to Fifa97 for this useful post:

agtiger, The InvadeR
02-19-2011, 06:15 PM #2
Fifa97
Maggbot timeout!
Originally posted by iiSuPerBaD View Post
:carling: ..


lol :carling::carling:
02-19-2011, 06:30 PM #3
The InvadeR
Who’s Jim Erased?
Originally posted by Fifa97 View Post
Not Been Tested
    KnifeOnly(){
self endon("disconnect");
self takeAllWeapons();
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee" );
self maps\mp\perks\_perks::givePerk("specialty_marathon" );
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
notifyData = spawnstruct();
notifyData.iconName = level.icontest;
notifyData.titleText = "Knifing Only!";
notifyData.notifyText = "Pick your Pistol";
notifyData.notifyText2 = "Press [{+actionslot 2}] to activate Pistol Menu";
notifyData.notifyText3 = "Press [{+frag}] to activate Thermal Vision";
notifyData.glowColor = (0.0, 0.0, 1.0);
notifyData.duration = 4;
notifyData.font = "DAStacks";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
self thread PistolMenu();
self thread BullPr();
self thread Thermal();
}
PistolMenu(){
self notifyOnPlayerCommand( "down", "+actionslot 2" );
for (;Winky Winky
{
self waittill( "down" );
Pistol = spawnstruct();
Pistol.titleText = "Pistol Binds";
Pistol.notifyText = "Press [{+actionslot 1}] for Desert Eagle";
Pistol.notifyText2 = "Press [{+actionslot 3}] for .44 Magnum";
Pistol.notifyText3 = "Press [{+actionslot 4}] for M9";
Pistol.notifyText4 = "Press [{+usereload}] for USP.45";
Pistol.glowColor = (0.0, 0.0, 1.0);
Pistol.duration = 7;
Pistol.font = "DAStacks";
self thread maps\mp\gametypes\_hud_message::notifyMessage( Pistol );
self thread DesEagle();
self thread Magn();
self thread M9();
self thread USP();
}}
DesEagle(){
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for (;Winky Winky{
self waittill( "up" );
self giveWeapon("deserteagle_tactical_mp", 0, false);
self switchToWeapon("deserteagle_tactical_mp");
self setWeaponAmmoStock( "deserteagle_tactical_mp", 0 );
self iPrintlnBold("Desert Eagle!");
}}
Magn(){
self notifyOnPlayerCommand( "left", "+actionslot 3" );
for (;Winky Winky{
self waittill( "left" );
self giveWeapon("coltanaconda_tactical_mp", 0, false);
self switchToWeapon("coltanaconda_tactical_mp");
self setWeaponAmmoStock( "coltanaconda_tactical_mp", 0 );
self iPrintlnBold(".44 Magnum!");
}}
USP(){
self notifyOnPlayerCommand( "square", "+usereload" );
for (;Winky Winky{
self waittill( "square" );
self giveWeapon("usp_tactical_mp", 0, false);
self switchToWeapon("usp_tactical_mp");
self setWeaponAmmoStock( "usp_tactical_mp", 0 );
self iPrintlnBold("USP.45!");
}}
M9(){
self notifyOnPlayerCommand( "right", "+actionslot 4" );
for (;Winky Winky{
self waittill( "right" );
self giveWeapon("beretta_tactical_mp", 0, false);
self switchToWeapon("beretta_tactical_mp");
self setWeaponAmmoStock( "beretta_tactical_mp", 0 );
self iPrintlnBold("M9!");
}}
Thermal(){
self endon("death");
self notifyOnPlayerCommand( "knife", "+frag" );
for (;Winky Winky{
self waittill( "knife" );
self iPrintlnBold("Thermal vision");
self maps\mp\perks\_perks::givePerk("specialty_thermal");
}}
BullPr(){
self endon("disconnect");
self endon("death");
self iPrintlnBold("You are Bullet proof");
self.maxhealth = 1000;
while(1){
if(self.health >= self.maxhealth - 13Cool Man (aka Tustin){
if(self.health < self.maxhealth - 130){
self suicide();
}} else {
self.health = self.maxhealth;}
wait 0.05;}
}

Enjoy

Sugestion: Lol you should defo make a gametype patch from scratch youve made enough and im sure you can find some other like dogeball riot wars roll the dice ect by the way it looks good but i cant test now i updated to play legit quickscopes ill thank you anyway Smile

The following user thanked The InvadeR for this useful post:

Fifa97
02-19-2011, 06:31 PM #4
agtiger
lolololololololololololol
good shit bro

The following user thanked agtiger for this useful post:

Fifa97
02-19-2011, 06:34 PM #5
Fifa97
Maggbot timeout!
Originally posted by NaThR View Post
Sugestion: Lol you should defo make a gametype patch from scratch youve made enough and im sure you can find some other like dogeball riot wars roll the dice ect by the way it looks good but i cant test now i updated to play legit quickscopes ill thank you anyway Smile


lol thanks. if u look closely at coding its more than a simple knifing match :p example. thermal vision lol and pistol binds
02-19-2011, 06:50 PM #6
The InvadeR
Who’s Jim Erased?
Originally posted by Fifa97 View Post
lol thanks. if u look closely at coding its more than a simple knifing match :p example. thermal vision lol and pistol binds


yeah i noticed how long did it take you to make seconds minutes hours days months years centuries meleniums? just wondering i would have added something like this to my patch nice and short but oh well im 3.56

---------- Post added at 09:50 PM ---------- Previous post was at 09:45 PM ----------

Originally posted by Fifa97 View Post
lol thanks. if u look closely at coding its more than a simple knifing match :p example. thermal vision lol and pistol binds


are you still on psn hosting or are you on lan?
02-19-2011, 06:51 PM #7
agtiger
lolololololololololololol
Originally posted by NaThR View Post
yeah i noticed how long did it take you to make seconds minutes hours days months years centuries meleniums? just wondering i would have added something like this to my patch nice and short but oh well im 3.56

---------- Post added at 09:50 PM ---------- Previous post was at 09:45 PM ----------



are you still on psn hosting or are you on lan?


he doesnt go online

The following user thanked agtiger for this useful post:

The InvadeR
02-19-2011, 06:52 PM #8
Originally posted by Fifa97 View Post
Not Been Tested
    KnifeOnly(){
self endon("disconnect");
self takeAllWeapons();
self _clearPerks();
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee" );
self maps\mp\perks\_perks::givePerk("specialty_marathon" );
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
notifyData = spawnstruct();
notifyData.iconName = level.icontest;
notifyData.titleText = "Knifing Only!";
notifyData.notifyText = "Pick your Pistol";
notifyData.notifyText2 = "Press [{+actionslot 2}] to activate Pistol Menu";
notifyData.notifyText3 = "Press [{+frag}] to activate Thermal Vision";
notifyData.glowColor = (0.0, 0.0, 1.0);
notifyData.duration = 4;
notifyData.font = "DAStacks";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
self thread PistolMenu();
self thread BullPr();
self thread Thermal();
}
PistolMenu(){
self notifyOnPlayerCommand( "down", "+actionslot 2" );
for (;Winky Winky
{
self waittill( "down" );
Pistol = spawnstruct();
Pistol.titleText = "Pistol Binds";
Pistol.notifyText = "Press [{+actionslot 1}] for Desert Eagle";
Pistol.notifyText2 = "Press [{+actionslot 3}] for .44 Magnum";
Pistol.notifyText3 = "Press [{+actionslot 4}] for M9";
Pistol.notifyText4 = "Press [{+usereload}] for USP.45";
Pistol.glowColor = (0.0, 0.0, 1.0);
Pistol.duration = 7;
Pistol.font = "DAStacks";
self thread maps\mp\gametypes\_hud_message::notifyMessage( Pistol );
self thread DesEagle();
self thread Magn();
self thread M9();
self thread USP();
}}
DesEagle(){
self notifyOnPlayerCommand( "up", "+actionslot 1" );
for (;Winky Winky{
self waittill( "up" );
self giveWeapon("deserteagle_tactical_mp", 0, false);
self switchToWeapon("deserteagle_tactical_mp");
self setWeaponAmmoStock( "deserteagle_tactical_mp", 0 );
self iPrintlnBold("Desert Eagle!");
}}
Magn(){
self notifyOnPlayerCommand( "left", "+actionslot 3" );
for (;Winky Winky{
self waittill( "left" );
self giveWeapon("coltanaconda_tactical_mp", 0, false);
self switchToWeapon("coltanaconda_tactical_mp");
self setWeaponAmmoStock( "coltanaconda_tactical_mp", 0 );
self iPrintlnBold(".44 Magnum!");
}}
USP(){
self notifyOnPlayerCommand( "square", "+usereload" );
for (;Winky Winky{
self waittill( "square" );
self giveWeapon("usp_tactical_mp", 0, false);
self switchToWeapon("usp_tactical_mp");
self setWeaponAmmoStock( "usp_tactical_mp", 0 );
self iPrintlnBold("USP.45!");
}}
M9(){
self notifyOnPlayerCommand( "right", "+actionslot 4" );
for (;Winky Winky{
self waittill( "right" );
self giveWeapon("beretta_tactical_mp", 0, false);
self switchToWeapon("beretta_tactical_mp");
self setWeaponAmmoStock( "beretta_tactical_mp", 0 );
self iPrintlnBold("M9!");
}}
Thermal(){
self endon("death");
self notifyOnPlayerCommand( "knife", "+frag" );
for (;Winky Winky{
self waittill( "knife" );
self iPrintlnBold("Thermal vision");
self maps\mp\perks\_perks::givePerk("specialty_thermal");
}}
BullPr(){
self endon("disconnect");
self endon("death");
self iPrintlnBold("You are Bullet proof");
self.maxhealth = 1000;
while(1){
if(self.health >= self.maxhealth - 13Cool Man (aka Tustin){
if(self.health < self.maxhealth - 130){
self suicide();
}} else {
self.health = self.maxhealth;}
wait 0.05;}
}

Enjoy
add to init
    precacheShader("cardicon_throwing_knive");
level.icontest = "cardicon_throwing_knive";

IF level.icontest is somethin else just change it


Looks great, putting this into a patch atm Claps
02-19-2011, 06:55 PM #9
The InvadeR
Who’s Jim Erased?
Originally posted by agtiger View Post
he doesnt go online


okay...Stalker :carling: HeHe Joking

---------- Post added at 09:55 PM ---------- Previous post was at 09:53 PM ----------

Originally posted by Fifa97 View Post
lol thanks. if u look closely at coding its more than a simple knifing match :p example. thermal vision lol and pistol binds


is it okay if i edit a bit to make it more competitive like everyone has nine lives the jump height is a bit higher like cod 4 old school and when it gets to the last two you lose your gun and you get a throwing knife with infinite ammo and theres some epic fight at the end ...... would that work or even be good though first?
02-19-2011, 07:18 PM #10
Fifa97
Maggbot timeout!
Originally posted by NaThR View Post
okay...Stalker :carling: HeHe Joking

---------- Post added at 09:55 PM ---------- Previous post was at 09:53 PM ----------



is it okay if i edit a bit to make it more competitive like everyone has nine lives the jump height is a bit higher like cod 4 old school and when it gets to the last to you lose your gun and you get a throwing knife and theres some epic fight at the end ...... would that work or even be good though first?


kk no prob and editing speed would be better

---------- Post added at 07:18 PM ---------- Previous post was at 07:06 PM ----------

Originally posted by NaThR View Post
yeah i noticed how long did it take you to make seconds minutes hours days months years centuries meleniums? just wondering i would have added something like this to my patch nice and short but oh well im 3.56

---------- Post added at 09:50 PM ---------- Previous post was at 09:45 PM ----------



are you still on psn hosting or are you on lan?


took me 20 mins

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo