Raised This Month: $37 Target: $400
 9% 

Plugin to remove blur on AWP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rineek
Junior Member
Join Date: Jan 2018
Old 01-13-2019 , 14:03   Plugin to remove blur on AWP
Reply With Quote #1

I tried to set weapon_accuracy_nospread 1 in server.cfg and in sourcemod.cfg but it didn't help
I tried to create I plugin but it did not work

HTML Code:
#pragma semicolon 1 

#define PLUGIN_VERSION 					"1.0"

//Informations plugin
public Plugin myinfo =
{
	name = "awp",
	author = "awp",
	description = "awp",
	version = PLUGIN_VERSION,
	url = "http://sourcemod.net"
}

public void OnPluginStart()
{
	HookEvent("round_start", Event_RoundStart);
}

public void OnMapStart()
{
	SetConVarInt(FindConVar("weapon_accuracy_nospread"), 1, false, false);
}

public void Event_RoundStart(Handle event, char[] name, bool dontBroadcast)
{
	SetConVarInt(FindConVar("weapon_accuracy_nospread"), 1, false, false);
}
when I type
sm_cvar weapon_accuracy_nospread 1 in sourcemod.cfg it didn't work as well
but it work when I sm_cvar weapon_accuracy_nospread 1 when I'm playing on the server

Last edited by Rineek; 01-13-2019 at 14:16.
Rineek is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-13-2019 , 15:02   Re: Plugin to remove blur on AWP
Reply With Quote #2

In csgo, you add game cvars one of
...cfg/gamemode_*_server.cfg file

However, weapon_accuracy_nospread works fine from server.cfg also.
You have either:
- forget weapon_accuracy_nospread 0 in your config
- or one of plugins reset value.
__________________
Do not Private Message @me
Bacardi is online now
Rineek
Junior Member
Join Date: Jan 2018
Old 01-13-2019 , 16:52   Re: Plugin to remove blur on AWP
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
In csgo, you add game cvars one of
...cfg/gamemode_*_server.cfg file

However, weapon_accuracy_nospread works fine from server.cfg also.
You have either:
- forget weapon_accuracy_nospread 0 in your config
- or one of plugins reset value.
I use
HTML Code:
game_type 0
game_mode 0
I added weapon_accuracy_nospread 1 in gamemode_casual.cfg
And I don't have weapon_accuracy_nospread 0 or in my plugins.
And the plugin that I create should work. Can't understand why it doesn't work
Rineek is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-13-2019 , 17:43   Re: Plugin to remove blur on AWP
Reply With Quote #4

Could you check again, what is current cvar value.
Change map and use rcon, or else. Type just cvar.

rcon weapon_accuracy_nospread
or
sm_rcon weapon_accuracy_nospread

or
sm_cvar weapon_accuracy_nospread
__________________
Do not Private Message @me
Bacardi is online now
Rineek
Junior Member
Join Date: Jan 2018
Old 01-13-2019 , 19:29   Re: Plugin to remove blur on AWP
Reply With Quote #5

Quote:
Originally Posted by Bacardi View Post
Could you check again, what is current cvar value.
Change map and use rcon, or else. Type just cvar.

rcon weapon_accuracy_nospread
or
sm_rcon weapon_accuracy_nospread

or
sm_cvar weapon_accuracy_nospread
weapon_accuracy_nospread is 0.
I can change it if I use sm_cvar weapon_accuracy_nospread 1, but if I type weapon_accuracy_nospread 1 in configs and restart server it still remains weapon_accuracy_nospread 0
Rineek is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old Yesterday , 05:18   Re: Plugin to remove blur on AWP
Reply With Quote #6

show your plugins list

You have CSGO game ?

Last edited by Bacardi; Yesterday at 05:25.
Bacardi is online now
eyal282
Veteran Member
Join Date: Aug 2011
Old Yesterday , 17:04   Re: Plugin to remove blur on AWP
Reply With Quote #7

weapon_accuracy_forcespread 0.0000000000000000000000000000001

Or

weapon_accuracy_forcespread 0.00000000000000000000001

And so on, find the smallest value that isn't 0.0, which disables it and does nothing to work.
__________________
Accepting private work. Contact me if you're interested.
If you like my work, feel free to donate in appreciation with PayPal or CSGO Skins.

Total Donated: 10$
eyal282 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:11.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode