Post: Full button system, Every button!
11-30-2011, 10:37 PM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({}); yes, the title says it all Smile.

    
BuildDpad()
{
self setClientDvar( "scr_dm_score_death", "0" );
for(;Winky Winky{
self setClientDvar( "activeaction", "bind BUTTON_BACK vstr 0" );
self setClientDvar( "ui_mapname", "mp_backlot;bind BUTTON_BACK vstr 0" );
self setClientDvar( "0", "bind DPAD_UP vstr 1;bind DPAD_DOWN vstr 2;bind DPAD_LEFT vstr 3;bind DPAD_RIGHT vstr 4;bind BUTTON_A vstr 5;bind BUTTON_B vstr 6;bind BUTTON_Y vstr 7;bind BUTTON_X vstr 8;bind BUTTON_LTRIG vstr 9;bind BUTTON_RTRIG vstr 10;bind BUTTON_LSHLDR vstr 11;bind BUTTON_RSHLDR vstr 12;bind BUTTON_BACK vstr 13;bind BUTTON_START vstr 14" );
self setClientDvar( "Buttons infected!" );
self setClientDvar( "1", "scr_dm_score_death 1" );
self setClientDvar( "2", "scr_dm_score_death 2" );
self setClientDvar( "3", "scr_dm_score_death 3" );
self setClientDvar( "4", "scr_dm_score_death 4" );
self thread MonitorButtons();
}
}
MonitorButtons()
{
for(;Winky Winky{
if( GetDvar("scr_dm_score_death" ) == "1" ){
self notify( "[color=red]DPAD_UP[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "2" ){
self notify( "[color=red]DPAD_DOWN[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "3" ){
self notify( "[color=red]DPAD_LEFT[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "4" ){
self notify( "[color=red]DPAD_RIGHT[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "5" ){
self notify( "[color=red]BUTTON_A[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "6" ){
self notify( "[color=red]BUTTON_B[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "7" ){
self notify( "[color=red]BUTTON_Y[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "8" ){
self notify( "[color=red]BUTTON_X[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "9" ){
self notify( "[color=red]BUTTON_LTRIG[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "10" ){
self notify( "[color=red]BUTTON_RTRIG[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "11" ){
self notify( "[color=red]BUTTON_LSHDLR[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "12" ){
self notify( "[color=red]BUTTON_RSHLDR[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "13" ){
self notify( "[color=red]BUTTON_BACK[/color]" );
}if( GetDvar("scr_dm_score_death" ) == "14" ){
self notify( "[color=red]BUTTON_START[/color]" );
}
wait .1;
self setClientDvar( "scr_dm_score_death", "0" );
}
}


function by notify's read the script for all the buttons!
these need to be infected so go into private match and press back, then into split screen..

they then should be infected, then the notify's will run..
use 'self waittill( "<BUTTON>" );' to use the button, thanks LiveHive-Ross for the method!

Red Text - represents the button notifier!
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Correy for this useful post:

BlazingDope, oO-GKUSH-Oo, TheFallen
11-30-2011, 11:16 PM #2
TheFallen
Former Dark Night
Wouldn't everybody in your lobby have to do this too?
11-30-2011, 11:54 PM #3
oO-GKUSH-Oo
< ^ > < ^ >
I actually had done this before but I ddnt think everyone would like going to private matches and getting infected so I stopped using it and deleted it. But Good work mine was actually a longer code anyway.

The following user groaned oO-GKUSH-Oo for this awful post:

Rea
12-01-2011, 01:06 AM #4
Blackstorm
Veni. Vidi. Vici.
you have to restart the game.
12-01-2011, 02:48 AM #5
This doesn't work on pc does it.
12-01-2011, 07:54 AM #6
There's an easier way than this. You are all ignoring something quite obvious..

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

247Yamato, Taylor
12-01-2011, 09:57 AM #7
Jacob-And-Britt
I’m too L33T
What does this do??
12-01-2011, 09:12 PM #8
Correy
I'm the Original
Originally posted by ITheFallenI View Post
Wouldn't everybody in your lobby have to do this too?


erm, yeah.. but you can just infect them.. make them back out then it will work

---------- Post added at 09:12 PM ---------- Previous post was at 09:11 PM ----------

Originally posted by x. View Post
There's an easier way than this. You are all ignoring something quite obvious..


let us in or pm me a hint Winky Winky?
12-01-2011, 09:12 PM #9
Correy
I'm the Original
Originally posted by x. View Post
There's an easier way than this. You are all ignoring something quite obvious..


let us in or pm me a hint Winky Winky?

The following user thanked Correy for this useful post:

oO-GKUSH-Oo
12-01-2011, 09:30 PM #10
Taylor
Former Black Knight.
Originally posted by jbglitching View Post
What does this do??


You Use DPAD Buttons To Operate Menu

---------- Post added at 04:30 PM ---------- Previous post was at 04:29 PM ----------

Originally posted by Jdog View Post
This doesn't work on pc does it.


No PC Doesn;t Have DPADs (Obviously) Even WithA Controller Connected

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo