SA-MP Forums Archive
Teams/Scores - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Teams/Scores (/showthread.php?tid=154627)



Teams/Scores - knopke - 14.06.2010

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;
}



Re: Teams/Scores - knopke - 14.06.2010

UP


Re: Teams/Scores - knopke - 15.06.2010

up


Re: Teams/Scores - TheInnocentOne - 15.06.2010

I don't understand what you want us to do for you, sorry.


Re: Teams/Scores - DJDhan - 15.06.2010

You might want to post your problems in the Lithuanian Language Board. HERE