Lag shot
#1

How do i enable and disable lag shot on the server?
Reply
#2

Open your server.cfg and make a new line.
If it should be off, then use:
Код:
lagcomp off
If it should be on, then use:
Код:
lagcomp on
Reply
#3

I don't think if 'lagcomp' variable accepts string, it should be numeric. If you set lagcompmode to 0, you can have lag-shooting.
Reply
#4

Use 'lagcompmode' setting in server.cfg

Quote:

Setting this to 0 will fully disable lag compensation. Setting it to 1 will enable lag compensation. Setting it to 2 will enable position-only lag compensation. This means player rotation won't be lag comp'd.

https://sampwiki.blast.hk/wiki/server.cfg
Reply
#5

Here's an easier way.

You asked how to enable and disable, editing the config file is a little harder because you need to restart after each time.. Which is a waste of time.
Instead, do:

1. Start server, join the game.

2. Type '/rcon login [yourpassword]'

3a. type '/rcon lagcompmode 1'
- That will/should enable it.

3b. type 'rcon /lagcompmode 0'
- That will/should disable it.
Reply
#6

Quote:
Originally Posted by RGOimpact
Посмотреть сообщение
Here's an easier way.

You asked how to enable and disable, editing the config file is a little harder because you need to restart after each time.. Which is a waste of time.
Instead, do:

1. Start server, join the game.

2. Type '/rcon login [yourpassword]'

3a. type '/rcon lagcompmode 1'
- That will/should enable it.

3b. type 'rcon /lagcompmode 0'
- That will/should disable it.
I'm afraid not...

Quote:

Lag compensation for fired bullets is enabled by default on SA-MP servers since 0.3z. It can be toggled using the 'lagcompmode' server variable (in server.cfg). Setting it to 0 will disable lag compensation completely and players will have to lead their shots (fired ahead of targets).

This variable can only be set in server.cfg

lagcompmode = (int, read-only)
https://sampwiki.blast.hk/wiki/Lag_Compensation
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)