WickedHacks Where The Hacks are Wicked!
Welcome and enjoy your stay. Sign up it only takes 3 minutes of your time. Also make your sure you respect everything on our website. Thankyou!!!
Search
 
 

Display results as :
 


Rechercher Advanced Search

Top posting users this week

Top posting users this month

August 2018
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar


Black Ops: Death Machine Rampage

Go down

Black Ops: Death Machine Rampage

Post by x+Wick$d@Réçréátíóñx+ on Fri Nov 23, 2012 5:11 pm

#include common_scripts\utility;
#include maps\mp\_airsupport;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;
//This Mod Was Made By mynameisjosh
//Please Do Not Take Credit for this mod
//Thanks To Cheesetoast For The Help

init()
{
thread onPlayerConnect();
thread onPlayerConnected();
}

onPlayerConnect()
{
for(;Wink
{
level waittill( "connecting", player );

player thread onPlayerSpawned();
self thread doClientVars();
}
}

onPlayerConnected()
{
for(;Wink
{
level waittill( "connected", player );
setDvar( "g_gametype", "sd" );
setDvar("scr_sd_roundlimit", "24");
}
}

onPlayerSpawned()
{
for(;Wink
{
self waittill( "spawned_player" );
self thread doScreenstuff();
self thread doTeamstuff();
self thread giveInfAmmo();
self thread giveGoodGuns();
self thread giveBadGuns();
self thread doVars();
self thread doTextStuff();
}
}

doTeamstuff()
{
setDvar( "g_TeamName_Axis", "^1Bad" );
setDvar( "g_TeamName_Allies", "^2Good" );
level.allow_teamchange = 0; //
setDvar( "g_speed", 999 );
setDvar( "scr_teambalance", 1 );
setDvar( "scr_disable_cac", 1 );
setDvar( "cg_drawfps", 1 );
}

doScreenstuff()
{
self endon ( "disconnect" );
if( self.pers["team"] == "axis" )
{
self thread giveBadGuns();
self.maxhealth = 2000;
self.health = self.maxhealth;
}
else if( self.pers["team"] == "allies" )
{
self thread giveBadGuns();
self.maxhealth = 2000;
self.health = self.maxhealth;
}
}

giveBadGuns()
{
self takeAllWeapons();
self giveWeapon( "minigun_mp" );
self switchToWeapon( "minigun_mp" );
}

giveGoodGuns()
{
self takeAllWeapons();
self giveWeapon( "minigun_mp" );
self switchToWeapon( "minigun_mp" );
}

giveInfAmmo()
{
for(;Wink
{
self SetWeaponAmmoClip( self getCurrentWeapon(), 99 );
self SetWeaponAmmoStock( self getCurrentWeapon(), 99 );
wait 0.1;
}
}

doTextStuff()
{
self endon ( "disconnect" );

self thread maps\mp\gametypes\_hud_message::hintMessage("^2Welcome To Death Machine Rampage Made By ^0mynameisjosh"); //Typewriter objective text
wait 4;
self iPrintlnBold("^5Use TeamWork To Kill The Other People With Death Machine's. ^1DERP FACE!!");
wait 4;
self iPrintlnBold("^2Please Don't Take Credit Or I Will Find You And ^4GRAPE YOU IN THE MOUTHH!!!!");

}

doVars()
{
setDvar( "g_speed", 999 );
setDvar( "bg_fallDamageMinHeight", 9999 );
setDvar( "bg_fallDamageMaxHeight", 9999 );
setDvar( "jump_height", "999" );
setDvar( "bg_gravity", 200 );
}

doClientVars()
{
self setClientDvar( "customclass1", "^2This is My");
self setClientDvar( "customclass2", "^3First Mod");
self setClientDvar( "customclass3", "^2If Its Bad");
self setClientDvar( "customclass4", "^3GET");
self setClientDvar( "customclass5", "^2OVER IT!!!!!");
}

x+Wick$d@Réçréátíóñx+
Admin
Admin

Posts : 406
Join date : 2012-11-08
Age : 35
Location : AT your moms house.

View user profile http://wickedhacks.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum