Facepunch / garrysmod-requests

Feature requests for Garry's Mod
83 stars 24 forks source link

Selectively exclude entities from lag compensation #2359

Open homonovus opened 2 months ago

homonovus commented 2 months ago

Details

Source SDK already has the ability to selectively ignore certain entities/players during lag compensation

a hook may be best, ShouldPlayerLagCompensateEntity

https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/player_lagcompensation.cpp#L415