ideal to prevent hipfire spray etc...
PHP Code:
customrecoil()
{
while(1)
{
self waittill ( "weapon_fired" );
currentweapon = self GetCurrentWeapon();
{
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
wait 0.05;
self setClientDvar("perk_weapSpreadMultiplier", 0.22);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.24);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.26);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.28);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.30);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.32);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.33);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.34);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.35);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.36);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.37);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.38);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.40);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.41);
wait 0.01;
self setClientDvar("perk_weapSpreadMultiplier", 0.42);
}
}
}