How to
#5

Basically it's like this :

pawn Код:
forward Stats(playerid);
public Stats(playerid)
{
  new string[186];
  new ip[56];
  GetPlayerIp(playerid, ip, sizeof(ip));
  TextDrawShowForPlayer(playerid, Stats0);
  TextDrawShowForPlayer(playerid, Stats1);
 
  format(string, sizeof(string), "~r~Your Statistics :~n~~n~~b~Money :~n~~w~($%d)~n~~b~Score :~n~~w~(%d)~n~~b~Ping :~n~~w~(%d)~n~~b~Kills :~n~~w~(%d)~n~~b~Deaths :~n~~w~(%d)~n~~b~IP Address :~n~~w~(%s)", GetPlayerMoney(playerid), GetPlayerScore(playerid), GetPlayerPing(playerid), KillVar[playerid], DeathVar[playerid], ip);
  TextDrawSetString(Stats1, string);
  return 1;
}
Reply


Messages In This Thread
How to - by ViruZZzZ_ChiLLL - 27.10.2010, 20:33
Re: How to - by The_Moddler - 27.10.2010, 20:36
Re: How to - by ViruZZzZ_ChiLLL - 27.10.2010, 20:38
Re: How to - by The_Moddler - 27.10.2010, 20:42
Re: How to - by ViruZZzZ_ChiLLL - 27.10.2010, 20:45
Re: How to - by The_Moddler - 27.10.2010, 21:04
Re: How to - by ViruZZzZ_ChiLLL - 27.10.2010, 22:53
Re: How to - by The_Moddler - 27.10.2010, 23:49
Re: How to - by iggy1 - 28.10.2010, 00:17
Re: How to - by ViruZZzZ_ChiLLL - 28.10.2010, 00:45

Forum Jump:


Users browsing this thread: 1 Guest(s)