03.10.2011, 21:29
How can I make the winner team gets the scores?
My Code:
But it Crashs.
Who can help me?
My Code:
Код:
if(TEAM_RED_SCORE > TEAM_BLUE_SCORE){ GameTextForAll("~r~ Team RED WIN }~n +1 Score",3000,5); SetPlayerScore(TEAM_RED,GetPlayerScore(TEAM_RED)+1); } if(TEAM_RED_SCORE < TEAM_BLUE_SCORE) { GameTextForAll("~b~Team BLUE WIN! }~n +1 Score",3000,5); SetPlayerScore(TEAM_BLUE,GetPlayerScore(TEAM_BLUE)+1); } if(TEAM_RED_SCORE == TEAM_BLUE_SCORE) { GameTextForAll("~p~ No Winners! ",3000,5); }
Who can help me?