cmd:stats [REP +]
#5

pawn Код:
CMD:stats(playerid, params[])
{
    new target;
    if(sscanf(params, "u", target)) return SendClientMessage(playerid, -1, "/stats [playerid]");

    new string[200],
    PlayerName[24];
    GetPlayerName(Target,PlayerName,sizeof PlayerName);
    format(string, sizeof(string), "Name: %s | ID: %d | Score: %d | Money: %d | Adminlevel: %d | VIP Level: %d |", PlayerName , target, GetPlayerScore(target), GetPlayerMoney(target), Adminlevel[target], VIPlevel[target]);
    SendClientMessage(playerid ,COLOR_BROWN, string);
    return 1;
}
Reply


Messages In This Thread
cmd:stats [REP +] - by Avi Raj - 24.03.2013, 17:44
Re: cmd:stats [REP +] - by bensmart469 - 24.03.2013, 17:47
Re: cmd:stats [REP +] - by Patrick - 24.03.2013, 17:50
Re: cmd:stats [REP +] - by Avi Raj - 24.03.2013, 17:54
Re: cmd:stats [REP +] - by Glad2BeHere - 24.03.2013, 18:01
Re: cmd:stats [REP +] - by Avi Raj - 24.03.2013, 18:08
Re: cmd:stats [REP +] - by Avi Raj - 24.03.2013, 18:12
Re: cmd:stats [REP +] - by Patrick - 24.03.2013, 18:18
Re: cmd:stats [REP +] - by Avi Raj - 24.03.2013, 18:21

Forum Jump:


Users browsing this thread: 2 Guest(s)