Raised This Month: $51 Target: $400
 12% 

Plugin to remove blur on AWP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rineek
Member
Join Date: Jan 2018
Old 01-13-2019 , 13: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 13:16.
Rineek is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-13-2019 , 14: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 offline
Rineek
Member
Join Date: Jan 2018
Old 01-13-2019 , 15: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 , 16: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 offline
Rineek
Member
Join Date: Jan 2018
Old 01-13-2019 , 18: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 01-14-2019 , 04:18   Re: Plugin to remove blur on AWP
Reply With Quote #6

show your plugins list

You have CSGO game ?

Last edited by Bacardi; 01-14-2019 at 04:25.
Bacardi is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 01-14-2019 , 16: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.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
Reply



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 05:04.


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