/stats
#5

pawn Код:
if(strcmp(cmd, "/stats", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            SendClientMessage(playerid, 0xFFFFFFF,"___________________________________________");
            GetPlayerName(playerid, playername, sizeof(playername));
            format(string, sizeof(string),"Name: %s", playername);
            SendClientMessage(playerid,0xFFFFFFFF,string);
            format(string, sizeof(string),"Money: %d", GetPlayerMoney(playerid));
            SendClientMessage(playerid,0xFFFFFFFF,string);
            format(string, sizeof(string),"Score: %d", GetPlayerScore(playerid));
            SendClientMessage(playerid, 0xFFFFFFF,"___________________________________________");
        }
        return 1;
   }
Reply


Messages In This Thread
/stats - by mariokumanovac - 10.07.2010, 18:39
Re: /stats - by ViruZZzZ_ChiLLL - 10.07.2010, 18:43
Re: /stats - by Adil - 10.07.2010, 18:53
Re: /stats - by mariokumanovac - 10.07.2010, 19:40
Re: /stats - by Adil - 10.07.2010, 19:57

Forum Jump:


Users browsing this thread: 2 Guest(s)