SA-MP Forums Archive
[Ajuda] problema max ping - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] problema max ping (/showthread.php?tid=601925)



problema max ping - iName - 28.02.2016

ae galera, eu baixei a gm ETrion Stunt Server, mas veio com max ping (maximo de ping) mas nao consigo mudar, eu procurei e nao achei alguem saberia me falar aonde que muda


Re: problema max ping - ReyMysterio - 28.02.2016

Procura por GetPlayerPing


Re: problema max ping - iName - 28.02.2016

Quote:
Originally Posted by ReyMysterio
Посмотреть сообщение
Procura por GetPlayerPing
if(GetPlayerPing(i) > ServerInfo[MaxPing])
{
FormatMSG(i, COLOR_ULTRARED, "%s(%d) {FFFF00}has been auto-kicked for having a high ping.[{FF0000}%d/%d{FFFF00}]", PlayerName(i), i, GetPlayerPing(i), ServerInfo[MaxPing]);
//------------------------------------------------------------------
eLog[0] = EOS; format(eLog, sizeof(eLog), "%s has been auto-kicked for having a high ping.[%d/%d]", PlayerName(i), GetPlayerPing(i), ServerInfo[MaxPing]), SendLog(eLog), KickEx(i);
}


Re: problema max ping - LiiPe - 28.02.2016

deve estar definido no topo de gm

prcura nas define que vc acha !

@edit

procura pela varaivel ServerInfo[MaxPing] que esta setada que vc vai achar !


Re: problema max ping - iName - 28.02.2016

Quote:
Originally Posted by LiiPe
Посмотреть сообщение
deve estar definido no topo de gm

prcura nas define que vc acha !

@edit

procura pela varaivel ServerInfo[MaxPing] que esta setada que vc vai achar !
consegui revolver, eu apaguei a linha KickEx(i); e parou de dar kick, pena que a gm й ruim :c mas vlw ae


Re: problema max ping - ZombieSmash - 28.02.2016

Nгo й nescessauro apagar, sу editar