12.01.2014, 13:08
(
Последний раз редактировалось Qaiis; 12.01.2014 в 13:41.
)
Yes, how do i make the /stats command show the clan name.
If you are in clan 1 it should say Pokemon and if you are in clan 2 you are in the clan group random?
This is what i got for the stats already:
If you are in clan 1 it should say Pokemon and if you are in clan 2 you are in the clan group random?
This is what i got for the stats already:
pawn Код:
CMD:stats(playerid,params[])
{
new name[MAX_PLAYER_NAME+1], string[24+MAX_PLAYER_NAME+1];
GetPlayerName(playerid, name, sizeof(name));
SendClientMessage(playerid, 0xFFFFFF, "***********************************");
format(string,sizeof(string),"%s's stats!",name);
SendClientMessage(playerid,0xFFFFFFAA,string);
SendClientMessage(playerid, 0xFFFFFF, "***********************************");
format(outp, sizeof(outp), "Playtime: %d hours %d mins %d secs.", hours[playerid], mins[playerid], secs[playerid]);
SendClientMessage(playerid, COLOR_YELLOW, outp);
format(outp, sizeof(outp), "Score: %d || Money: $%d ", GetPlayerScore(playerid), GetPlayerMoney(playerid));
SendClientMessage(playerid, COLOR_GREEN, outp);
format(outp, sizeof(outp), "Clan:? ", ??????????????????????);
SendClientMessage(playerid, COLOR_BROWN, outp);
return true;
}