14.06.2010, 19:00
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
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;
}

