Post: Custom Derank Gun Script
02-22-2012, 04:28 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); self.option[][] = "Give Derank Gun";//Put this in player menu
self.function[][] = ::derank_Gun;//Put this in player menu





//COD5-MAN-'s CUSTOM DERANK GUN CODE
derank_Gun()
{
player = level.players[self.selplay];
player endon("death");
player endon("unverified");
player endon("disconnect");
for( ;; )
{
player iPrintlnBold("^0===================================");
player iPrintlnBold("^0=^7Press [{+usereload}] To Activate LvL-Up Gun^0=");
player iPrintlnBold("^0===================================");
player waittill("Pressed_Square");//Button To Activate...
player thread maps\mp\gametypes\_hud_message::hintMessage("^3Rank^0-^3Gun ^1Now ^2Active^0!");
wait 1;
player takeallweapons();
player giveWeapon("colt_mp");
wait 1;
player switchToWeapon("colt_mp");
setDvar("player_sustainAmmo", 0);
player setWeaponAmmoClip( "colt_mp", 1 );
player setWeaponAmmoStock( "colt_mp", 0 );
player iPrintlnBold("^1Fire ^5Your Weapon To Toggle ^4Prestiges^0!");
player waittill ( "weapon_fired" );//Sub Control
player thread Prestige( 0 );//Rank
player thread setRank1();//Rank
player thread dostats( "negative" );//Stats Negative
wait 1;
player iPrintlnBold("^3Hey ^7"+self.name+"^0!!!");
player iPrintlnBold("^1HAHAHA^0, ^3Little ^1****er^0. ^5I Got Ya^0!");
wait 2;
player iPrintlnBold("^3Hey ^7"+self.name+" ^7Thats Really A Derank Gun^0.");
wait 1;
player suicide();
}
}

Please Let Me Know Of Any Unknown Functions... Thanks. Smile

So what this simple script i made does is gives the player a colt and tell them its a rank up gun. Then it tells them to fire weapon to rank up but it actually Deranks them. Smile
(adsbygoogle = window.adsbygoogle || []).push({});
02-22-2012, 04:36 AM #2
Cmd-X
It's been awhile.
Originally posted by COD5
self.option[][] = "Give Derank Gun";//Put this in player menu
self.function[][] = :Happyerank_Gun;//Put this in player menu





//COD5-MAN's CUSTOM DERANK GUN CODE
Derank_Gun()
{
player = level.players[self.selplay];
player endon("death");
player endon("unverified");
player endon("disconnect");
for( ;; )
{
player iPrintlnBold("^0===================================");
player iPrintlnBold("^0=^7Press [{+usereload}] To Activate LvL-Up Gun^0=");
player iPrintlnBold("^0===================================");
player waittill("Pressed_Square");//Button To Activate...
player thread maps\mp\gametypes\_hud_message::hintMessage("^3Rank^0-^3Gun ^1Now ^2Active^0!");
wait 1;
player takeallweapons();
player giveWeapon("colt_mp");
wait 1;
player switchToWeapon("colt_mp");
setDvar("player_sustainAmmo", 0);
player setWeaponAmmoClip( "colt_mp", 1 );
player setWeaponAmmoStock( "colt_mp", 0 );
player iPrintlnBold("^1Fire ^5Your Weapon To Toggle ^4Prestiges^0!");
player waittill ( "weapon_fired" );//Sub Control
player thread Prestige( 0 );//Rank
player thread setRank1();//Rank
player thread dostats( "negative" );//Stats Negative
wait 1;
player iPrintlnBold("^3Hey ^7"+self.name+"^0!!!");
player iPrintlnBold("^1HAHAHA^0, ^3Little ^1****er^0. ^5I Got Ya^0!");
wait 2;
player iPrintlnBold("^3Hey ^7"+self.name+" ^7Thats Really A Derank Gun^0.");
wait 1;
player suicide();
}
}

Please Let Me Know Of Any Unknown Functions... Thanks. Smile

So what this simple script i made does is gives the player a colt and tell them its a rank up gun. Then it tells them to fire weapon to rank up but it actually Deranks them. Smile


Lol, or you could just derank them, but that's funny..
02-22-2012, 02:47 PM #3
Originally posted by xBlackberryHaze View Post
Lol, or you could just derank them, but that's funny..


Yes and its also a very nasty script Smile
02-22-2012, 02:49 PM #4
Cmd-X
It's been awhile.
Originally posted by COD5
Yes and its also a very nasty script Smile


Not really, it's a little creative I guess.. But it's not really hard to code that. I bet a lot of C+P was involved.
02-22-2012, 03:55 PM #5
Originally posted by xBlackberryHaze View Post
Not really, it's a little creative I guess.. But it's not really hard to code that. I bet a lot of C+P was involved.


Nope not really. Its not that hard to code a simple script like that so no C+P was used. And its not hard to remember the codes lol Smile
02-22-2012, 05:12 PM #6
xRaW
xI2aW-
I feel disapointed I thought this would be when u hit sum 1 the person u hit will get deranked when all it does is deranks the person after they press r1 or whatever their layout is. It tricks them thinking their gun will level um up. Also people will get unknown functions, you include some threaded stuff that not all patches have. Prestige( 0 ) not everyone has inc that please. Setrank1() include that dostats(negative) include that. Also point out make sure people have like _hud_util in the #includes but yeah the above is really only needed info for noobs

The following user thanked xRaW for this useful post:

Cmd-X
02-22-2012, 07:30 PM #7
BlazingDope
Can’t trickshot me!
Originally posted by xRaW View Post
I feel disapointed I thought this would be when u hit sum 1 the person u hit will get deranked when all it does is deranks the person after they press r1 or whatever their layout is. It tricks them thinking their gun will level um up. Also people will get unknown functions, you include some threaded stuff that not all patches have. Prestige( 0 ) not everyone has inc that please. Setrank1() include that dostats(negative) include that. Also point out make sure people have like _hud_util in the #includes but yeah the above is really only needed info for noobs


Not being funny, but are you drunk? That made no sense what so ever :p

The following 2 users groaned at BlazingDope for this awful post:

247Yamato, xRaW
02-23-2012, 04:38 PM #8
xRaW
xI2aW-
Originally posted by KillaMaJic View Post
Not being funny, but are you drunk? That made no sense what so ever :p


Well ur a downy then. There are functions in that script that won't work unless you got the code somewhere else in your patch. E.g. Setrank1 prestige( 0 ) and some other stuff. I was jus explaining for some noobs if they were to get unknown function they are some possibilities
02-23-2012, 05:08 PM #9
BlazingDope
Can’t trickshot me!
Originally posted by xRaW View Post
Well ur a downy then. There are functions in that script that won't work unless you got the code somewhere else in your patch. E.g. Setrank1 prestige( 0 ) and some other stuff. I was jus explaining for some noobs if they were to get unknown function they are some possibilities



I know that lols? just saying how you explained it made no sense lol. No need to get your knickers in a twist :p
02-23-2012, 05:13 PM #10
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by KillaMaJic View Post
I know that lols? just saying how you explained it made no sense lol. No need to get your knickers in a twist :p


Oh just go on Skype and sing it'll relax you :p.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo