color
#6

Quote:
Originally Posted by Joe_
https://sampwiki.blast.hk/wiki/Format

That tells you how to use it correctly (format)
ya i can use it correctly heres the code..
Код:
public PingCheck()
{
for(new i=0; i<GetMaxPlayers();i++)
{
if(IsPlayerConnected(i))
{
if(GetPVarInt(i,"IsSpawned") == 1)
{
if(GetPlayerPing(i) >= 1000)
{
new name[MAX_PLAYER_NAME],string[71];
GetPlayerName(i,name,sizeof(name));
format(string,sizeof(string),"%s Has Been Kicked From The Server. (Reason: High Ping)");
SendClientMessageToAll(PINK,string);
Kick(i);
}}}}
return 1;
}
Reply


Messages In This Thread
color - by Kar - 10.06.2010, 14:53
Re: color - by Nero_3D - 10.06.2010, 15:14
Re: color - by Kar - 10.06.2010, 15:24
Re: color - by Joe_ - 10.06.2010, 15:35
Re: color - by Assyria - 10.06.2010, 15:38
Re: color - by Kar - 10.06.2010, 15:55
Re: color - by Nero_3D - 10.06.2010, 16:17
Re: color - by Jakku - 10.06.2010, 18:11
Re: color - by Niixie - 10.06.2010, 19:44
Re: color - by Kar - 10.06.2010, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)