❓ No recoil question

Posts 1–6 of 6 · Page 1 of 1
❓ No recoil question
I want no recoil for all weapons except cheytac in my mod but i dont know how....if any one know tell me
Quote Originally Posted by ElpidiosMan View Post
I want no recoil for all weapons except cheytac but i dont know how....if any one know tell me
Unfortunatley "No Recoil" Involves "Writing Into The game's Memory" Which Is What Most Anti-Hack Programs Are Looking For Like VAC
I Do not Have The Answer to your Question Unfortunatley But I Hope I Changed your mind About it If You CARE About your Account xD
Otherwise Like I Say "Happy Hacking"
Quote Originally Posted by tylergott View Post


Unfortunatley "No Recoil" Involves "Writing Into The game's Memory" Which Is What Most Anti-Hack Programs Are Looking For Like VAC
I Do not Have The Answer to your Question Unfortunatley But I Hope I Changed your mind About it If You CARE About your Account xD
Otherwise Like I Say "Happy Hacking"
He wants to do it via GSC coding
Quote Originally Posted by Nachos View Post


He wants to do it via GSC coding
Ah I See,.. Then Go Fucking Crazy
..........i play on fourdeltaone and i want it for my MODDDDDDD
Quote Originally Posted by ElpidiosMan View Post
I want no recoil for all weapons except cheytac in my mod but i dont know how....if any one know tell me
Search Helps....
http://www.mpgh.net/forum/323-call-d...iper-sway.html

Code:
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" );
And with some extra look:
Code:
CurrentWeapon= self GetCurrentWeapon();
if ( isSubStr(CurrentWeapon,"cheytac") ) // Checks if the weapon name contains: cheytac
{
setdvar( "player_breath_fire_delay", getDvar("player_breath_fire_delay") );
setdvar( "player_breath_gasp_lerp", getDvar("player_breath_gasp_lerp") );
setdvar( "player_breath_gasp_scale", getDvar("player_breath_gasp_scale") );
setdvar( "player_breath_gasp_time", getDvar("player_breath_gasp_time") );
setDvar( "player_breath_snd_delay", getDvar("player_breath_snd_delay") );
}
else
{
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" );
}
Oki?

Else you may just add it in a loop with some wait time:
Code:
NoWepRecoil()
{
//To avoid bugs ;)
self endon("death");
self endon("disconnect");

for(;;)
{
CurrentWeapon= self GetCurrentWeapon();
if ( isSubStr(CurrentWeapon,"cheytac") ) // Checks if the weapon name contains: cheytac
{
//Code will get the dvar Value. Might become wrong if the user first used the sniper. And switch back to something else. It might use the wrong values...
setdvar( "player_breath_fire_delay", getDvar("player_breath_fire_delay") );
setdvar( "player_breath_gasp_lerp", getDvar("player_breath_gasp_lerp") );
setdvar( "player_breath_gasp_scale", getDvar("player_breath_gasp_scale") );
setdvar( "player_breath_gasp_time", getDvar("player_breath_gasp_time") );
setDvar( "player_breath_snd_delay", getDvar("player_breath_snd_delay") );
}
else
{
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" );
}
wait 1.5; //1 sec and 5 mili sec wait time.  Change if want
}
}
And in the Player Spawn thread or so:
Code:
self thread NoWepRecoil();
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us