how to create anti lag system ?
#1

any idea how to create no lag shoot system ?
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=417368
Reply
#3

its much buggy
Please any one have filterscript which is for tdm servers. which works well on teams.
Or please give me little tutorial to create it.

Thank You.
Reply
#4

You can't create an anti-lag system with anything other than GetPlayerPing and GetPlayerNetworkStats.

Packets are sent to the server network and there is no possible way (AFAIK) that you can keep track of these packets to check and see if the player is lagging, since you need a "ProcessTick" function in PAWN, which is not possible.

However, just use GetPlayerPing and GetPlayerNetworkStats for now.
Reply
#5

but i saw some servers that have no lag system.
Just need to shoot on body with no bug. :/
Reply
#6

They use OnPlayerGiveDamage, it gets called if you hit someone on your screen

Just do what the wiki says
Quote:
Originally Posted by wiki.sa-mp
You can also set all players to the same team (so they don't take damage from other players) and process all health loss from other players manually.
Thats pretty much what the filterscript does

There should already be some scripts search for them
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)