getping
#3

Use format.
pawn Код:
if(IsPlayerAdmin(playerid))
{
   new string[22];
   if(sscanf(params, "i", targetplayer)) {}
   format(string, sizeof(string), "Players ping is %i", GetPlayerPing(playerid));
   SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
Reply


Messages In This Thread
getping - by saffierr - 29.03.2015, 21:01
Re: getping - by Evocator - 29.03.2015, 21:08
Re: getping - by CalvinC - 29.03.2015, 21:16
Re: getping - by saffierr - 29.03.2015, 22:05
Re: getping - by Threshold - 30.03.2015, 03:06
Re: getping - by saffierr - 30.03.2015, 13:20
Re: getping - by CalvinC - 30.03.2015, 13:30
Re: getping - by saffierr - 30.03.2015, 13:56
Re: getping - by CalvinC - 30.03.2015, 14:11
Re: getping - by saffierr - 30.03.2015, 14:42

Forum Jump:


Users browsing this thread: 3 Guest(s)