fix scripts

This commit is contained in:
FutureRave 2023-02-04 18:11:54 +00:00
parent 45f84745dc
commit a67ad1410a
No known key found for this signature in database
GPG Key ID: 22F9079C86CFAB31

View File

@ -104,7 +104,7 @@ handlesuicidedeath( var_0, var_1 )
[[ level.onsuicidedeath ]]( self ); [[ level.onsuicidedeath ]]( self );
if ( isdefined( self.friendlydamage ) ) if ( isdefined( self.friendlydamage ) )
self iprintlnbold( &"MP_FRIENDLY_FIRE_WILL_NOT" ); self _meth_826E( &"MP_FRIENDLY_FIRE_WILL_NOT" );
self.pers["suicideSpawnDelay"] = maps\mp\gametypes\_tweakables::gettweakablevalue( "game", "suicidespawndelay" ); self.pers["suicideSpawnDelay"] = maps\mp\gametypes\_tweakables::gettweakablevalue( "game", "suicidespawndelay" );
} }
@ -326,7 +326,7 @@ callback_playergrenadesuicide( var_0, var_1, var_2, var_3, var_4, var_5, var_6,
var_8 = 1; var_8 = 1;
if ( var_8 ) if ( var_8 )
var_0 laststanddie(); var_0 _meth_82C8();
[[ level.callbackplayerlaststand ]]( var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, 0 ); [[ level.callbackplayerlaststand ]]( var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, 0 );
} }
@ -3240,17 +3240,17 @@ _obituary( var_0, var_1, var_2, var_3 )
if ( var_7 == "spectator" ) if ( var_7 == "spectator" )
{ {
var_6 iprintlnbold( &"MP_OBITUARY_NEUTRAL", var_1.name, var_0.name ); var_6 _meth_826E( &"MP_OBITUARY_NEUTRAL", var_1.name, var_0.name );
continue; continue;
} }
if ( var_7 == var_4 ) if ( var_7 == var_4 )
{ {
var_6 iprintlnbold( &"MP_OBITUARY_ENEMY", var_1.name, var_0.name ); var_6 _meth_826E( &"MP_OBITUARY_ENEMY", var_1.name, var_0.name );
continue; continue;
} }
var_6 iprintlnbold( &"MP_OBITUARY_FRIENDLY", var_1.name, var_0.name ); var_6 _meth_826E( &"MP_OBITUARY_FRIENDLY", var_1.name, var_0.name );
} }
} }