show stats help
#3

Код:
forward ShowStats(playerid);
public ShowStats(playerid)
{
  if(IsPlayerConnected(playerid)&&IsPlayerConnected(playerid))
    {
 
        new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
        new coordsstring[256];
        SendClientMessage(playerid, Stats_Color, "Your Stats");
        format(coordsstring, sizeof(coordsstring), " Admin Level: %d | Cash: %s | Kills: %s | Deaths: %s |",PlayerInfo[playerid][pAdmin]; , GetPlayerMoney(playerid); , PlayerInfo[playerid][pKills]; , PlayerInfo[playerid][pDeaths];);
        SendClientMessage(playerid, Stats_Color,coordsstring);
        }
}
Not tested but it should work Easy ?
Reply


Messages In This Thread
show stats help - by Tom1412 - 25.10.2011, 01:27
Re: show stats help - by StuffBoy - 25.10.2011, 01:52
Re: show stats help - by SampEver1 - 25.10.2011, 01:57
Re: show stats help - by StuffBoy - 25.10.2011, 02:00
Re: show stats help - by Tom1412 - 25.10.2011, 02:16
Re: show stats help - by =WoR=Varth - 25.10.2011, 02:47
Re: show stats help - by Tom1412 - 25.10.2011, 03:06

Forum Jump:


Users browsing this thread: 2 Guest(s)