ping problem
#1

In one gamemod has put if you have a big ping to kick from server.How to turn off?
Reply
#2

Look for the function

Код:
GetPlayerPing
and delete it, or set another limit (integer).
Reply
#3

set it to maximum maybe cmd /setping or something like this, depends what gamemode you have, usually gamemodes is /setping


Rep if i helped
Reply
#4

In gamemode not have GetPlayerPing
and no command /setping
Reply
#5

Then look at your folder Scriptfiles and check the setting files configured to work on the server.

They are in .ini format.
Reply
#6

OnPlayerUpdate.
Reply
#7

Try /maxping

Let's make this easier, which gm u use?

Maybe u find it in Anticheat features.

For example, one of the most used GMS

Код:
if(dialogid == 13337)
		{
		    if(response)
		    {
		        if(PlayerInfo[playerid][pAdmin] < 6)
				{
					SendClientMessage(playerid, COLOR_GREY, "* You are not authorized to use this option");
					return 1;
				}
				new final = strval(inputtext);
				if(final != 0)
				{
				    if (final > 65535 || final < 100)
					{
						SendClientMessage(playerid, COLOR_GRAD2, "* Max ping may not go above 65535 or below 100");
						ShowPlayerDialog(playerid, 13337,DIALOG_STYLE_INPUT,"Max Ping (100-65535)","Insert the max ping here, Must be numeric!","Input","Cancel");
						return 1;
					}
					MaxPing = final;
					format(string, sizeof(string),"* Max ping set to %d",final);
					SendClientMessage(playerid, COLOR_GREY,string);
					format(string,sizeof(string),"* The max ping has been set to %d by the Developer %s (%d)",final,sendername,playerid);
					SendClientMessageToAll(COLOR_CREAM,string);
					new y, m, d;
					new h,mi,s;
					getdate(y,m,d);
					gettime(h,mi,s);
					format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s has set the max ping to %d",d,m,y,h,mi,s,sendername, final);
					AdminLog(string);
				}
				else return SendClientMessage(playerid, COLOR_GREY,"* Invalid ping, must be numeric and above 100!") && ShowPlayerDialog(playerid, 13337,DIALOG_STYLE_INPUT,"Max Ping (100-65535)","Insert the max ping here, Must be numeric!","Input","Cancel");
			}
		}
		return 0;
	}
Reply
#8

in this gamemode there is not OnPlayerUpdate
Reply
#9

Try this ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)