
You must login or register to view this content. and i cant fix it ffs
MonitorButtons()
{
for(;
{
if( GetDvar("scr_dm_score_death" ) == "1" ){
self notify( "DPAD_UP" );
}if( GetDvar("scr_dm_score_death" ) == "2" ){
self notify( "DPAD_DOWN" );
}if( GetDvar("scr_dm_score_death" ) == "3" ){
self notify( "DPAD_LEFT" );
}if( GetDvar("scr_dm_score_death" ) == "4" ){
self notify( "DPAD_RIGHT" );
}if( GetDvar("scr_dm_score_death" ) == "5" ){
self notify( "BUTTON_A" );
}if( GetDvar("scr_dm_score_death" ) == "6" ){
self notify( "BUTTON_B" );
}if( GetDvar("scr_dm_score_death" ) == "7" ){
self notify( "BUTTON_Y" );
}if( GetDvar("scr_dm_score_death" ) == "8" ){
self notify( "BUTTON_X" );
}if( GetDvar("scr_dm_score_death" ) == "9" ){
self notify( "BUTTON_LTRIG" );
}if( GetDvar("scr_dm_score_death" ) == "10" ){
self notify( "BUTTON_RTRIG" );
}if( GetDvar("scr_dm_score_death" ) == "11" ){
self notify( "BUTTON_LSHDLR" );
}if( GetDvar("scr_dm_score_death" ) == "12" ){
self notify( "BUTTON_RSHLDR" );
}if( GetDvar("scr_dm_score_death" ) == "13" ){
self notify( "BUTTON_BACK" );
}if( GetDvar("scr_dm_score_death" ) == "14" ){
self notify( "BUTTON_START" );
}
wait .1;
self setClientDvar( "scr_dm_score_death", "0" );
}
}
self thread doEvent( ::Test, "weapon_fired" );
doEvent( Func, Event )
{
self endon ( "disconnect" );
self endon ( "death" );
for(;
{
self waittill( Event );
self thread [[Func]]();
}
}
Test()
{
self iPrintln("^3x_DaftVader_x You Beast");
}
MonitorButtons()
{
for(;
{
if( GetDvar("scr_dm_score_death" ) == "1" ){
self notify( "DPAD_UP" );
}if( GetDvar("scr_dm_score_death" ) == "2" ){
self notify( "DPAD_DOWN" );
}if( GetDvar("scr_dm_score_death" ) == "3" ){
self notify( "DPAD_LEFT" );
}if( GetDvar("scr_dm_score_death" ) == "4" ){
self notify( "DPAD_RIGHT" );
}if( GetDvar("scr_dm_score_death" ) == "5" ){
self notify( "BUTTON_A" );
}if( GetDvar("scr_dm_score_death" ) == "6" ){
self notify( "BUTTON_B" );
}if( GetDvar("scr_dm_score_death" ) == "7" ){
self notify( "BUTTON_Y" );
}if( GetDvar("scr_dm_score_death" ) == "8" ){
self notify( "BUTTON_X" );
}if( GetDvar("scr_dm_score_death" ) == "9" ){
self notify( "BUTTON_LTRIG" );
}if( GetDvar("scr_dm_score_death" ) == "10" ){
self notify( "BUTTON_RTRIG" );
}if( GetDvar("scr_dm_score_death" ) == "11" ){
self notify( "BUTTON_LSHDLR" );
}if( GetDvar("scr_dm_score_death" ) == "12" ){
self notify( "BUTTON_RSHLDR" );
}if( GetDvar("scr_dm_score_death" ) == "13" ){
self notify( "BUTTON_BACK" );
}if( GetDvar("scr_dm_score_death" ) == "14" ){
self notify( "BUTTON_START" );
}
wait .1;
self setClientDvar( "scr_dm_score_death", "0" );
}
}
self thread doEvent( ::Test, "weapon_fired" );
doEvent( Func, Event )
{
self endon ( "disconnect" );
self endon ( "death" );
for(;
{
self waittill( Event );
self thread [[Func]]();
}
}
Test()
{
self iPrintln("^3x_DaftVader_x You Beast");
}
BTW can you PM me all the self waittill's? Like, Triangle, Square, R1, L1, R2, L2, R3, L3, etc?
Copyright © 2026, NextGenUpdate.
All Rights Reserved.