Post: [SCRIPT]J&B*'s Cod4 Knife game v1!
05-07-2012, 02:11 PM #1
Jacob-And-Britt
I’m too L33T
(adsbygoogle = window.adsbygoogle || []).push({}); Hello guys i think this is going to be the last script i release till i get my menu fully converted to ps3 idk how im going to do that but idk i dont have very much new scripts and i would like most of them to be released when the menu is release. Sense everyone has been so patient with me i decided to release one of my gametypes this is called knife game. Everyone has a knife and a knife only very smiler to mw3s knife game.

    self thread Cod4_Knife_Game();


    
Cod4_Knife_Game()
{
self thread //Lock menu function here();
self thread Cod4_Knife_Game_1();
self thread Cod4_Knife_Game_2();
self thread Cod4_knife_spawn2();
self thread Cod4_knife_spawn1();
}

Cod4_Knife_Game_1()
{
if(self.team == "allies")
{
self iprintlnbold ("^3Welcome To J&B*'s Knife Game");
wait 2;
self iprintlnbold ("^1....Watch Your Back!");
wait 0.01;
self takeallweapons();
wait 0.01;
self setclientDvar ("player_meleeHeight", "50");
self setclientDvar("player_meleeRange", "100");
self setclientDvar ("player_meleeWidth", "50");
self giveweapon ("beretta_mp");
self switchtoweapon ("beretta_mp");
self setWeaponAmmoClip("beretta_mp", 0);
self setWeaponAmmoStock("beretta_mp", 0);
}
}

Cod4_knife_spawn1()
{
if(self.team == "allies")
{
for(;Winky Winky
{
self waittill("spawned_player");
self takeallweapons();
wait 0.01;
self setclientDvar ("player_meleeHeight", "50");
self setclientDvar("player_meleeRange", "100");
self setclientDvar ("player_meleeWidth", "50");
self giveweapon ("beretta_mp");
self switchtoweapon ("beretta_mp");
self setWeaponAmmoClip("beretta_mp", 0);
self setWeaponAmmoStock("beretta_mp", 0);
}
wait 0.01;
}
}

Cod4_knife_spawn2()
{
if(self.team == "axis")
{
for(;Winky Winky
{
self waittill("spawned_player");
self takeallweapons();
wait 0.01;
self setclientDvar ("player_meleeHeight", "50");
self setclientDvar("player_meleeRange", "100");
self setclientDvar ("player_meleeWidth", "50");
self giveweapon ("beretta_mp");
self switchtoweapon ("beretta_mp");
self setWeaponAmmoClip("beretta_mp", 0);
self setWeaponAmmoStock("beretta_mp", 0);
}
wait 0.01;
}
}

Cod4_Knife_Game_2()
{
if(self.team == "axis")
{
self iprintlnbold ("Welcome To J&B*'s Knife Game");
wait 2;
self iprintlnbold ("....Watch Your Back!");
wait 0.01;
self takeallweapons();
wait 0.01;
self setclientDvar ("set player_meleeHeight", "50");
self setclientDvar("set player_meleeRange", "100");
self setclientDvar ("set player_meleeWidth", "50");
self giveweapon ("beretta_mp");
self switchtoweapon ("beretta_mp");
self setWeaponAmmoClip("beretta_mp", 0);
self setWeaponAmmoStock("bertta_mp", 0);
}
}


Credits
anyone who helped me thanks but i think i made this completely on my own!
Last edited by Jacob-And-Britt ; 05-07-2012 at 02:14 PM.
05-15-2012, 09:22 PM #11
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by Correy View Post
there isn't any other guns to pick up?.. everyone uses the same weapon


He can change his class though
05-15-2012, 09:52 PM #12
Correy
I'm the Original
Originally posted by D34TH View Post
He can change his class though


you need to die, then upon that you go back to onPlayerSpawn.. which then will re-thread that.. which takes all weapons Gaspkay:

i win
05-16-2012, 03:43 AM #13
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by Correy View Post
you need to die, then upon that you go back to onPlayerSpawn.. which then will re-thread that.. which takes all weapons Gaspkay:

i win


And that is why in my OP I said that thread would need to be onPlayerSpawn lol. So ha I win!
05-16-2012, 03:52 AM #14
Correy
I'm the Original
Originally posted by D34TH View Post
And that is why in my OP I said that thread would need to be onPlayerSpawn lol. So ha I win!


where else would he thread it :derp:?
05-16-2012, 10:13 AM #15
Lol really you two? Does it matter who wins :p
05-16-2012, 01:40 PM #16
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by Correy View Post
where else would he thread it :derp:?


As a regular thread because he is J&B? haha. What if it was inside of another patch? ha I win! AGAIN!
05-16-2012, 04:32 PM #17
Jacob-And-Britt
I’m too L33T
Originally posted by D34TH View Post
As a regular thread because he is J&B? haha. What if it was inside of another patch? ha I win! AGAIN!
The way i see it you and him can fight for months cus all i know is this works 100% no its not the most spectacular gamemode but it is just a small little gamemode for your meu.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo