26.06.2014, 16:39
BTW thx man. i descover how to make this command.
pawn Код:
CMD:stats(playerid, params[])
{
SendClientMessage(playerid,COL_STATS,"<____________________>");
new name[MAX_PLAYER_NAME+1], string[24+MAX_PLAYER_NAME+1];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s Status", name);
SendClientMessageToAll(COL_JMEK, string);
format(string, sizeof(string), "Money: $%i.", GetPlayerMoney(playerid));
SendClientMessage(playerid, COL_JMEK, string);
format(string, sizeof(string),"Level: %i", PlayerInfo[playerid][pLevel]);
SendClientMessage(playerid, COL_JMEK,string);
format(string, sizeof(string),"RP: %i", PlayerInfo[playerid][pRP]);
SendClientMessage(playerid, COL_JMEK,string);
SendClientMessage(playerid,COL_STATS,"<____________________>");
return 1;
}