Post: Your Pissed! Suicide Code
02-04-2011, 11:04 PM #1
Fifa97
Maggbot timeout!
(adsbygoogle = window.adsbygoogle || []).push({}); Thanks daft vader. Couldnt have finished it without ur help.
ADD TO init:
    level.icontest = "cardicon_weed";
precacheShader("cardicon_weed");

Update 4:
    Drunk(){
self endon("death");
notifyData = spawnstruct();
notifyData.iconName = level.icontest;
notifyData.titleText = "^1OMG I'M PISSED!";
notifyData.notifyText = "^1AH MY HEAD";
notifyData.notifyText2 = "^1SHIT!! WHAT HAPPENED";
notifyData.glowColor = (0.0, 0.0, 1.0);
notifyData.duration = 5;
notifyData.font = "DAStacks";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
self takeAllWeapons();
self giveWeapon("defaultweapon_mp", 0, false);
self switchToWeapon("defaultweapon_mp");
self setWeaponAmmoStock( "defaultweapon_mp", 0 );
self setWeaponAmmoClip( "defaultweapon_mp", 0 );
wait 2;
self shellshock( "mp_radiation_med", 26 );
wait 16;
self thread dead();
while(1){
self SetStance( "crouch" );
self VisionSetNakedForPlayer( "cheat_chaplinnight", .5 );
wait 0.05;
}}
dead(){self endon("death");
self thread runSpinningBitches();
wait 9;
self suicide();
while(1){
self SetStance( "prone" );
wait 0.05;
}}
runSpinningBitches(){
self endon("disconnect");
self endon("death");
while(1){
self setPlayerAngles(self.angles+(0,0,90));
self VisionSetNakedForPlayer( "mpnuke", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,180));
self VisionSetNakedForPlayer( "cheat_chaplinnight", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,270));
self VisionSetNakedForPlayer( "ac130_inverted", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,0));
self VisionSetNakedForPlayer( "grayscale", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,270));
self VisionSetNakedForPlayer( "mpnuke_aftermath", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,0,180));
self VisionSetNakedForPlayer( "oilrig_underwater", .5 );
self PlaySound( "nuke_explosion" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,90));
self VisionSetNakedForPlayer( "cargoship_blast", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,0));
self VisionSetNakedForPlayer( "blackout_darkness", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;}}


UPDATE 1:
THANKS SCRUMILATION!!
UPADATE 3:

Thanks MerkLovesToHack!!!
Player menu as requested:
    Drunk(p){
self endon("death");
notifyData = spawnstruct();
notifyData.iconName = level.icontest;
notifyData.titleText = "^1OMG I'M PISSED!";
notifyData.notifyText = "^1AH MY HEAD";
notifyData.notifyText2 = "^1SHIT!! WHAT HAPPENED";
notifyData.glowColor = (0.0, 0.0, 1.0);
notifyData.duration = 5;
notifyData.font = "DAStacks";
p thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
p takeAllWeapons();
p giveWeapon("defaultweapon_mp", 0, false);
p switchToWeapon("defaultweapon_mp");
p setWeaponAmmoClip( "defaultweapon_mp", 0 );
wait 2;
p shellshock( "mp_radiation_med", 26 );
wait 16;
p thread dead();
while(1){
p SetStance( "crouch" );
p VisionSetNakedForPlayer( "cheat_chaplinnight", .5 );
wait 0.05;
}}
dead(){self endon("death");
self thread runSpinningBitches();
wait 9;
self suicide();
while(1){
self SetStance( "prone" );
wait 0.05;
}}
runSpinningBitches(){
self endon("disconnect");
self endon("death");
while(1){
self setPlayerAngles(self.angles+(0,0,90));
self VisionSetNakedForPlayer( "mpnuke", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,180));
self VisionSetNakedForPlayer( "cheat_chaplinnight", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,270));
self VisionSetNakedForPlayer( "ac130_inverted", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,0));
self VisionSetNakedForPlayer( "grayscale", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,270));
self VisionSetNakedForPlayer( "mpnuke_aftermath", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,0,180));
self VisionSetNakedForPlayer( "oilrig_underwater", .5 );
self PlaySound( "nuke_explosion" ); wait 0.5;
self setPlayerAngles(self.angles+(0,90,90));
self VisionSetNakedForPlayer( "cargoship_blast", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;
self setPlayerAngles(self.angles+(0,180,0));
self VisionSetNakedForPlayer( "blackout_darkness", .5 );
self PlaySound( "nuke_wave" ); wait 0.5;}}


    
menu.namer[x]="Booze up player";
menu.funcs[x]=NAMEOFGSC:Happyrunk;
menu.input[x]=self.input;
(adsbygoogle = window.adsbygoogle || []).push({});

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

ꜛ  , ᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟᅟ, agtiger, Scrumilation, Skyl1n3, xBRz_fri3dL, xSpider95
02-05-2011, 04:27 PM #11
Originally posted by Fifa97 View Post
do you think the new 1 i just made and posted will work?


the last one wasnt working, ill try the new one :y:

EDIT: 500 POSTS!!!! HALF WAY TO 1K!
02-05-2011, 04:30 PM #12
Fifa97
Maggbot timeout!
Originally posted by Scrumilation View Post
the last one wasnt working, ill try the new one :y:

EDIT: 500 POSTS!!!! HALF WAY TO 1K!


yh the 1 i pmed u was a fail but daft vader fixed it cause hes the best Happy
02-05-2011, 04:55 PM #13
Added this to You must login or register to view this content. Winky Winky
02-05-2011, 05:07 PM #14
Fifa97
Maggbot timeout!
Originally posted by TuhoajaFIN View Post
Added this to You must login or register to view this content. Winky Winky


oh thanks Smile ill +rep u wen im able 2. i need a better name for it lol. any ideas?

---------- Post added at 05:07 PM ---------- Previous post was at 05:02 PM ----------

Originally posted by TuhoajaFIN View Post
Added this to You must login or register to view this content. Winky Winky


oh and the error was you cant have functions underneath while(1) which is in the same thread as it. fixed now Smile thanks daft vader:beer: (not to much though or youll end up like the guy in the codes LOL) :beer:
02-05-2011, 05:13 PM #15
Originally posted by Fifa97 View Post
CAN SUM1 RECORD??????
    Drunk(){
self iPrintlnBold("You are Pissed!");
self takeAllWeapons();
self giveWeapon("defaultweapon_mp", 0, false);
self switchToWeapon("defaultweapon_mp");
self setWeaponAmmoStock( "defaultweapon_mp", 0 );
self VisionSetNakedForPlayer("mpnuke", 1);
wait 2;
self VisionSetNakedForPlayer("cheat_chaplinnight", 1);
wait 2;
self VisionSetNakedForPlayer("ac130_inverted", 1);
wait 2;
self VisionSetNakedForPlayer("aftermath", 1);
self thread dead();
self SetStance( "crouch");
wait 0.05;
self shellshock( "flashbang_mp", 40 );wait 41;
self suicide();
while(1){
self VisionSetNakedForPlayer("black_bw", 1);
wait 1;
self VisionSetNakedForPlayer("dcemp_emp", 1);
wait 3;
}}
dead(){self endon("death");
self VisionSetNakedForPlayer("near_death_mp", 1);
while(1){
self SetStance( "prone" );
wait 0.05;}
}

Thanks daft vader. Couldnt have finished it without ur help.
Update(NOT 100%) Tell me if it works.
    Drunk(){
self thread runSpinningBitches();
self iPrintlnBold("You are Pissed!");
self takeAllWeapons();
self giveWeapon("defaultweapon_mp", 0, false);
self switchToWeapon("defaultweapon_mp");
self setWeaponAmmoStock( "defaultweapon_mp", 0 );
self SetStance( "crouch");
wait 0.05;
self shellshock( "flashbang_mp", 30 );wait 31;
self thread dead();
}
dead(){self endon("death");
self VisionSetNakedForPlayer("near_death_mp", 1);
self suicide();
while(1){
self SetStance( "prone" );
wait 0.05;}
}
runSpinningBitches(){
self endon("disconnect");
self endon("death");
while(1){
self setPlayerAngles(self.angles+(0,0,90));
self VisionSetNakedForPlayer( "mpnuke", .1 );
self PlaySound( "nuke_wave" ); wait 0.1;
self setPlayerAngles(self.angles+(0,90,180));
self VisionSetNakedForPlayer( "cheat_chaplinnight", .1 );
self PlaySound( "nuke_wave" ); wait 0.1;
self setPlayerAngles(self.angles+(0,180,270));
self VisionSetNakedForPlayer( "dcemp_parking_lighting", .1 );
self PlaySound( "nuke_wave" ); wait 0.1;
self setPlayerAngles(self.angles+(0,90,0));
self VisionSetNakedForPlayer( "grayscale", .1 );
self PlaySound( "nuke_wave" ); wait 0.1;
self setPlayerAngles(self.angles+(0,180,270));
self VisionSetNakedForPlayer( "mpnuke_aftermath", .1 );
self PlaySound( "nuke_wave" ); wait 0.1;
self setPlayerAngles(self.angles+(0,0,180));
self VisionSetNakedForPlayer( "oilrig_underwater", .1 );
self PlaySound( "nuke_explosion" ); wait 0.1;
self setPlayerAngles(self.angles+(0,90,90));
self VisionSetNakedForPlayer( "blacktest", .1 );
self PlaySound( "nuke_wave" ); wait 0.1;
self setPlayerAngles(self.angles+(0,180,0));
self VisionSetNakedForPlayer( "blackout_darkness", .1 );
self PlaySound( "nuke_wave" ); wait 0.1;}}



OOOPS!

The following user thanked Scrumilation for this useful post:

Fifa97
02-05-2011, 05:16 PM #16
Originally posted by DEREKTROTTER View Post
I wouldn't call putting it on 1 line optimised lol Happy

but it can be shortened a lot


I used Mossy's optimizer it did make a different.
02-05-2011, 05:30 PM #17
Fifa97
Maggbot timeout!
Originally posted by Scrumilation View Post
OOOPS!
You must login or register to view this content.


ok thanks. i need 2 reduce flashed time

---------- Post added at 05:30 PM ---------- Previous post was at 05:17 PM ----------

flash is fixed. credit to scrumilation 4 vid
02-05-2011, 05:35 PM #18
who made this?
02-05-2011, 05:42 PM #19
HerbalEye
I'm thinking of a number...
You should make it so you can do this to other people Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo