Hey so I know sv_allowupload 0 disables sprays but the clients can still put their owns sprays and see other people's sprays they've downloaded before elsewhere so they thinks sprays are just broken. Is it possible to force players to disable sprays completely including the sound and all? Like forcing cl_playerdisablespray on. Thanks :3
No. Forcing cl_playerdisablespray is a bad idea.
[QUOTE=Robotboy655;45376006]No. Forcing cl_playerdisablespray is a bad idea.[/QUOTE]
That was just an idea but outta curiosity why is that a bad idea?
[QUOTE=YourStalker;45377538]That was just an idea but outta curiosity why is that a bad idea?[/QUOTE]
Casue you shouldn't be forcing player settings.
Bump?
Looks like you can do this:
[lua]hook.Add( "PlayerSpray", "PreventSprays", function() return false end )[/lua]
Just add that to a file in the lua/autorun/server folder.
return true.
false will allow the spray, true will prevent it.
-snip-
late
[QUOTE=Internet1001;45448947]Looks like you can do this:
[lua]hook.Add( "PlayerSpray", "PreventSprays", function() return false end )[/lua]
Just add that to a file in the lua/autorun/server folder.[/QUOTE]
Thanks a bunch, you too Scotteh.
Sorry, you need to Log In to post a reply to this thread.