Is there anyways to detect if player is unsynced
#1

Hello,

I have actually done a system to sync a players, but I know there will be some player who will never use the sync command, so I'd like to know how it's possible to see if he is synced or not.

I can make a kick ping but there are someplayers who have 200+ but are not unsynced.

thx for futur hlp
Reply
#2

https://sampwiki.blast.hk/wiki/NetStats_PacketLossPercent

Should help.
Reply
#3

pawn Код:
if(NetStats_ NetStats_PacketLossPercent(playerid))
{
    if(..) // dont see what i do there
    {
        // kick unsync
    }

}
i think it's like that i will need to script hit, but i don't know to get packetlose percents.. to do like :
pawn Код:
if(plose[playerid] >= 0.1) // etc..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)