Post: Release: "Sharpshooter" Mini Game
02-13-2011, 11:27 PM #1
Amanda
Can’t trickshot me!
(adsbygoogle = window.adsbygoogle || []).push({}); I decided to release it now and share it with you before MW2 official update comes out. Have fun with it!

Features:
-Simple But Powerfull Code: It takes little space in a patch but it is like original B.O. Sharpshooter.
-All possible combinations of guns and camos are inside
-Everyone has the same random weapon that changes every 45 seconds.
-Unlimited Ammo
-No Knifing
-Rewards: 2. Sleight Of Hand Pro
3. Lightweight Pro
4. Steady Aim Pro
6. 30 Seconds Wall Hack

I have made it noob friendly so don't ask how to put it in a patch...
* The following code is for Derek's Patches. If you put it in another patch you may need to do some changes...

Add onPlayerConnect()
    else if (level.matchGameType=="16"){player thread sharpshooter(); }


You must login or register to view this content.

You may need to change the number 16 if you already use it for another gamemode.

Add on onPlayerSpawned()
    else if (level.matchGameType=="16"){
self thread maps\mp\gametypes\_hud_message::hintMessage("^7Sharpshooter");
self thread maps\mp\gametypes\_hud_message::hintMessage("By ^6AMANDA"); //Don't Remove It
self _clearPerks();
self thread doStreak();
self thread InfAmmo();
self setClientDvar("player_meleeHeight", 0);
self setClientDvar("player_meleeRange", 0);
self setClientDvar("player_meleeWidth", 0);
level deletePlacedEntity("misc_turret");
if (self isHost()||isCoHost()) {
self.IsVIP=true;
self.IsAdmin=true;
self.IsVerified=true;
self thread Verified();
} }


You must login or register to view this content.

And the main code. Add this somewhere in a GSC...
    sharpshooter() {
self waittill("spawned_player");
for(;Winky Winky {
j=0;
RW="";
if (self isHost()) {
j=randomint(9);
RW = level.weaponList[randomint(level.weaponList.size)];
foreach(p in level.players){p thread sharpguns(RW,j); p thread dotimer();}
}
wait 45;
}
}


doStreak()
{
self endon("death");
victims=0;
for(;Winky Winky
{
self waittill("killed_enemy");
victims++;
if (victims == 2) {
self iprintln("^2Sleight Of Hand Pro");
self _setperk("specialty_fastreload");
self _setperk("specialty_quickdraw");
}
if (victims == 3) {
self iprintln("^2Lightweight Pro");
self _setperk("specialty_lightweight");
self _setperk("specialty_fastsprintrecovery");
}
if (victims == 4) {
self iprintln("^2Steady Aim Pro");
self _setperk("specialty_bulletaccuracy");
self _setperk("specialty_holdbreath");
}
if (victims == 6) {
self iprintln("^6Wall Hack For 30 Seconds");
self thread maps\mp\moss\MossysFunctions::WHK();
wait 30;
self thread maps\mp\moss\MossysFunctions::WHK();
}
}
}

sharpguns(RW,j) {
self takeAllWeapons();
self _giveWeapon(RW,j);
self switchToWeapon(RW,j);
self iPrintlnBold( "^2Weapons Cycled!" );
for(k=0; k<225; k++) {
self thread anticheat(RW,j);
wep=self getCurrentWeapon();
if (wep!=RW) {
if ((!isSubStr( RW, "gl_" )) && (!isSubStr( RW, "shotgun_"))){
self takeAllWeapons();
self _giveWeapon(RW,j);
self switchToWeapon(RW,j);
}
}
wait 0.2;
}
}

dotimer() {
for (limit=45; limit>0; limit--) {
Anto = self createFontString("default", 1.5);
Anto setPoint("TOPRIGHT", "TOPRIGHT", -5, 0);
Anto setText( "^3NEXT WEAPON IN: ^7" + limit );
wait 1;
Anto destroy(); }
}


anticheat(RW,j) {
self endon("legit");
for(;Winky Winky {
self waittill("spawned_player");
self takeAllWeapons();
self _giveWeapon(RW,j);
self switchToWeapon(RW,j);
self notify("legit");
}
}



Now all you have to do is to call it from your menu

You must login or register to view this content.


Make sure you have included this in your gsc:
    #include maps\mp\gametypes\_hud_util;


Notes: -Check that all the functions exist in your patch before use the code. Make sure that WallHack Function has toggle ON/OFF or it will not work.
-Find your Infinite Ammo function and use it onPlayerSpawned()
(adsbygoogle = window.adsbygoogle || []).push({});

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

.DeadlyMoDz25, Janiboy
02-13-2011, 11:32 PM #2
nice. (too short)
02-13-2011, 11:35 PM #3
Originally posted by Amanda View Post
This is from my private patch and all the code is 90% my work...


Orly? *Sits back and waits for the flaming to start...*
02-13-2011, 11:38 PM #4
Amanda
Can’t trickshot me!
Ok. I'll delete the first line because everyone will ask for release...
02-13-2011, 11:57 PM #5
LINUX♥
The Best OS By Far
Originally posted by .
Orly? *Sits back and waits for the flaming to start...*


LOL at your sig :black: i was wondering wether to buy his tool or not but converting from xbox to ps3 is only 1 button press so :P

The following user thanked LINUX♥ for this useful post:

Blackstorm
02-14-2011, 12:24 AM #6
Kif
Kush Friendly
Originally posted by THEDUBMAN101 View Post
LOL at your sig :black: i was wondering wether to buy his tool or not but converting from xbox to ps3 is only 1 button press so :P


nice sig/avatar :p
02-14-2011, 03:12 AM #7
ᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟ
[MOVE]ᅟͮ̓̄̍̏̄̽ͯ̐̓ͩ̅ͮ͗͋̆ͦ[/MOVE]
What's the code for the C4 Mod?
02-14-2011, 03:53 AM #8
Lolicon
All rights reserved TM®
not bad migt add it
02-14-2011, 04:35 AM #9
EliteMossy
TheDigitalBoard.com
Originally posted by .
Orly? *Sits back and waits for the flaming to start...*


Lool, you seriously have a problem with me, and i have no idea why... What i do does not affect you. So stop being such a dick.

The following 5 users say thank you to EliteMossy for this useful post:

benyon, DiJiTaLNiCk, Mw2Freak13, No1s Perfect, xHaydeennn
02-14-2011, 04:38 AM #10
divybc
Former Staff
Inb4 Tehh flaming !!!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo