/stats bugged
#2

Remove the forward.

pawn Код:
if (strcmp("/stats", cmdtext, true) == 0)
{
  if(logged[playerid]) ShowStats(playerid,playerid);
  return 1;
}
pawn Код:
stock ShowStats(playerid,targetid)
{
  new string[128];
  SendClientMessage(playerid, COLOR_LIGHTBLUE, "_____________________________________");
  SendClientMessage(playerid, COLOR_GRAY,playername);//playername
  format(string, sizeof(string),"Kills:%i Deaths:%i Level:%i Team/Faction:%i",PlayerInfo[targetid][pKills],PlayerInfo[targetid][pDeaths],PlayerInfo[targetid][pLevel],PlayerInfo[targetid][pTeam]);
  SendClientMessage(playerid, COLOR_GRAY,string);//kills deaths etc.
  SendClientMessage(playerid, COLOR_LIGHTBLUE, "_____________________________________");
  return 1;
}
Reply


Messages In This Thread
/stats bugged - by narutogeek11 - 15.08.2009, 04:11
Re: /stats bugged - by Rusty1337 - 15.08.2009, 04:37
Re: /stats bugged - by narutogeek11 - 15.08.2009, 05:13

Forum Jump:


Users browsing this thread: 1 Guest(s)