ping problem
#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


Messages In This Thread
ping problem - by srcka< - 03.12.2012, 20:24
Re: ping problem - by Feastahashi - 03.12.2012, 20:27
Re: ping problem - by xxxDeathxxx - 03.12.2012, 20:28
Re: ping problem - by srcka< - 03.12.2012, 20:30
Re: ping problem - by Feastahashi - 03.12.2012, 20:32
Re: ping problem - by Elysian` - 03.12.2012, 20:32
Re: ping problem - by DexterBR - 03.12.2012, 20:34
Re: ping problem - by srcka< - 03.12.2012, 20:34
Re: ping problem - by DexterBR - 03.12.2012, 20:39

Forum Jump:


Users browsing this thread: 3 Guest(s)