Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sniper stabilizer in server no work
#1
Hi guys...

i modify a mod with sniper stabilizer script, in local work fine but in gameserver no work..

Quote:setDvar ("player_breath_fire_delay", 0);
setDvar ("player_breath_gasp_lerp", 0);
setDvar ("player_breath_gasp_scale", 0);
setDvar ("player_breath_gasp_time", 0);
setDvar ("player_breath_hold_lerp", 9999);
setDvar ("player_breath_hold_time", 9999);

what is the problem?...

regards
Reply

#2
The problem is that it doesn't work.
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#3
setDvar should be setClientDvar.

setDvar sets dvars for the server (on a local server, that is yourself). Therefore on the gameservers it is only setting the dvar for the server, not any other players.
Reply

#4
Code:
SwayReduce()
{
    setDvar ("sv_cheats", 0);
    self setClientDvar( "player_breath_fire_delay", "0" );
    self setClientDvar( "player_breath_gasp_lerp", "0" );
    self setClientDvar( "player_breath_gasp_scale", "0" );
    self setClientDvar( "player_breath_gasp_time", "0" );
    self setClientDvar( "player_breath_snd_delay", "0" );
    self setClientDvar( "player_breath_snd_lerp", "0" );
    setDvar( "player_breath_fire_delay", "0" );
    setDvar( "player_breath_gasp_lerp", "0" );
    setDvar( "player_breath_gasp_scale", "0" );
    setDvar( "player_breath_gasp_time", "0" );
    setDvar( "player_breath_snd_delay", "0" );
    setDvar( "player_breath_snd_lerp", "0" );
}
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Windows 8.1 Fix for MW3 Server Addon master131 16 18,202 09-29-2014, 23:08
Last Post: SuperNovaAO
Brick [Release] MW3 Server Administration Addon iRoNinja 5 9,015 11-10-2013, 15:46
Last Post: Casper
Exclamation Help cmdlist, dvarlist server crash Nerus 17 11,920 11-09-2013, 23:54
Last Post: Nerus
  Our Level Fastfile is Different from the Server. CheeseToast 6 11,327 11-03-2013, 17:52
Last Post: CheeseToast
  Dedicated Server External (public) IP Nerus 3 5,903 11-02-2013, 14:16
Last Post: Casper
  MW3 Server Version superg1973 7 12,756 10-28-2013, 01:15
Last Post: kotyra972
  Help how to turn off map in dedicated server pero123 8 7,147 10-15-2013, 19:00
Last Post: Nekochan
  Issue with server addon and NAT dimitrifrom31 3 5,086 10-08-2013, 18:11
Last Post: iRoNinja
  GETTING SERVER ONLINE raym 6 5,724 09-28-2013, 22:42
Last Post: Nekochan
  advanced Server Config Poorya56 9 7,022 09-11-2013, 03:45
Last Post: trasto

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.