Public feed #379236

Something

public cpp v1 · immutable
Raw Edit
·published 2007-03-03 01:51 UTC
rendered paste body
if(strcmp(cmdtext, "/score", true)==0) {		if(OnCounter) {	 		if(LangPol) {	new sstring[256], sstring2[256];		format(sstring, sizeof(sstring), "%s: ma %d punktów", TEAM1, sCount1);		format(sstring2, sizeof(sstring2), "%s: ma %d punktów", TEAM2, sCount2);		SendClientMessage(playerid,COLOR_GREEN, sstring);		SendClientMessage(playerid,COLOR_GREEN, sstring2);		if(sCount1 > sCount2)	{	new xstring[256];		format(xstring, sizeof(xstring), "%s: wygrywa przewagą %d punktów", TEAM1, sCount1 - sCount2);		SendClientMessage(playerid,COLOR_GREEN, xstring);		}		if(sCount2 > sCount1)	{	new xstring[256];		format(xstring, sizeof(xstring), "%s: wygrywa przewagą %d punktów", TEAM2, sCount2 - sCount1);		SendClientMessage(playerid,COLOR_GREEN, xstring);		}		}	if(LangEng) {	new sstring[256], sstring2[256];	 	format(sstring, sizeof(sstring), "%s: have %d points", TEAM1, sCount1);		format(sstring2, sizeof(sstring2), "%s: have %d points", TEAM2, sCount2);		SendClientMessage(playerid,COLOR_GREEN, sstring);		SendClientMessage(playerid,COLOR_GREEN, sstring2);		}		if(sCount1 > sCount2)	{	new xstring[256];		format(xstring, sizeof(xstring), "%s: is winning with majority of %d points", TEAM1, sCount1 - sCount2);		SendClientMessage(playerid,COLOR_GREEN, xstring);		}		if(sCount2 > sCount1)	{	new xstring[256];		format(xstring, sizeof(xstring), "%s: is winning with majority of %d points", TEAM2, sCount2 - sCount1);		SendClientMessage(playerid,COLOR_GREEN, xstring);		}	}else	if(LangPol) {		SendClientMessage(playerid, COLOR_GREEN, "Licznik jest wyłączony");	 	}	}else if(LangEng){	{	SendClientMessage(playerid, COLOR_GREEN, "Counter is not turned on");	}  return 1;}