Teams/Scores
#1

Hi, I want that when the signature and the team that I go write a clan tag and its points. Suppose I write a team and throws:
USE: / Team <Clan Tag><Clan Scores>
But now, I wrote a clan but tago uzrasi points: S Padakit what you can. Thanks in advance.

Sorry for me bad english

Код:
dcmd_teams(playerid,params[])
{

		new idx;
		tmp = strtok(params,idx);
		new score = strval(tmp);
		if(!IsPlayerAdmin(playerid))
		{
	  return SendClientMessage(playerid,COLOR_WHITE,"You're not an admin.");
		}
		if(!strlen(tmp))
		return SendClientMessage(playerid, COLOR_WHITE, "/setscore <team> <score>!");
	  AttackersCount = score;
 		new string[128];
 		format(string,sizeof(string),"Attacker score are set to: %d",score);
		GameTextForAll(string,3000,6);
		format(string, sizeof(string), "Attackers: %d", AttackersCount);
		TextDrawSetString(AttackerDraw,string);
return 1;
}
Reply


Messages In This Thread
Teams/Scores - by knopke - 14.06.2010, 19:00
Re: Teams/Scores - by knopke - 14.06.2010, 19:12
Re: Teams/Scores - by knopke - 15.06.2010, 08:28
Re: Teams/Scores - by TheInnocentOne - 15.06.2010, 10:21
Re: Teams/Scores - by DJDhan - 15.06.2010, 10:24

Forum Jump:


Users browsing this thread: 1 Guest(s)