How to
#6

pawn Код:
forward StatsPlayer(playerid, playersid);
public StatsPlayer(playerid, playersid)
{
    new string[186];
    new ip[16];
    GetPlayerIp(playersid, ip, sizeof(ip));
    TextDrawShowForPlayer(playerid, Stats0);
    TextDrawShowForPlayer(playerid, Stats1);
    format(string, 186, "~r~Hes 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(playersid), GetPlayerScore(playersid), GetPlayerPing(playersid), KillVar[playersid], DeathVar[playersid], ip);
    TextDrawSetString(Stats1, string);
    return 1;
}

stats = SetTimerEx("StatsPlayer", 1000, true, "ii", playerid, playerid2);
Should work
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)