Player's Ping in a variable?
#4

pawn Код:
#include <a_samp>
#include <zcmd>
new ping[MAX_PLAYERS],pingstring[124];//PingString needs a size.
   
CMD:myping(playerid,params[])
{
    ping[playerid] = GetPlayerPing(playerid);
    format(pingstring, sizeof(pingstring),"%i", ping[playerid]);//Line 164
SendClientMEssage(plaeyrid,-1,pignrtrinsg);
    return 1;
}
.
Few spelling mistakes IMO.
Reply


Messages In This Thread
Player's Ping in a variable? - by [HK]Ryder[AN] - 12.09.2012, 15:37
Re: Player's Ping in a variable? - by Kyle - 12.09.2012, 15:41
Re: Player's Ping in a variable? - by [HK]Ryder[AN] - 12.09.2012, 15:47
Re: Player's Ping in a variable? - by C00K13M0N$73R - 12.09.2012, 15:51
Re: Player's Ping in a variable? - by [HK]Ryder[AN] - 12.09.2012, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)