Nosway Intervention
I am currently trying to fix some bugs in Promod.
But i havent managed to fix a bug on the nosway fix yet.
The problem is that you have to holdbreath once each map so nosway works.
Here is the code:
Thanks a lot!
But i havent managed to fix a bug on the nosway fix yet.
The problem is that you have to holdbreath once each map so nosway works.
Here is the code:
Code:
doNoSway()
{
self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
self maps\mp\perks\_perks::givePerk("specialty_holdbreath");
setDvar ("sv_cheats", 1);
setdvar( "player_breath_fire_delay ", "0" );
setdvar( "player_breath_gasp_lerp", "0" );
setdvar( "player_breath_gasp_scale", "0.0" );
setdvar( "player_breath_gasp_time", "0" );
setDvar( "player_breath_snd_delay ", "0" );
setDvar( "perk_extraBreath", "0" );
setDvar( "perk_improvedextraBreath", "0" );
setDvar("sv_cheats", 0);
}
Thanks a lot!
