Name Team
#1
There is a problem with the output text names for command.
doInfo() - is a problem here.

Code:
showTeams() { level.infotext = NewHudElem(); level.infotext.alignX = "BOTTOMLEFT"; level.infotext.alignY = "BOTTOM"; level.infotext.horzAlign = "BOTTOMLEFT"; level.infotext.vertAlign = "BOTTOM"; level.infotext.y = 30; level.infotext.x = 5; level.infotext.foreground = true; level.infotext.fontScale = 1.2; level.infotext.font = "default"; level.infotext.alpha = 1; level.infotext.color = ( 1.0, 1.0, 1.0 ); wait 0.20; }

Code:
doInfo() { self endon("disconnect"); for(i = 10; i >= 0; i -= 1) { //**************************************************\\ ttm = ??????(the standard name of the team "axis"); ttm2 = ??????(the standard name of the team "Allies"); //**************************************************\\ level.infotext setText(ttm2 + ": ^4" + level.aliveCount["axis"] + " ^1| " + ttm + ": ^4" + level.aliveCount["allies"]); if(i == 0) { i = 10; } wait 1; } }

in file _team.gsc
Code:
setDvar("g_TeamName_Allies", getTeamShortName( "allies" )); setDvar("g_TeamName_Axis", getTeamShortName( "axis" ));
[Image: i12284Logob255.gif]

#2
Code:
ttm = "??????(the standard name of the team "axis")"; ttm2 = "??????(the standard name of the team "Allies")";

Try that instead, what was the error?



Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Team DAMAGE offhand E-losev 0 3,399 09-17-2013, 12:03
Last Post: E-losev
  Help choose 2 random players?(1 each team) 26hz 6 6,347 09-12-2013, 17:32
Last Post: Yamato
  Team struct Deviler86 6 7,728 04-10-2013, 15:23
Last Post: x1412
  Sniper rifles bullet's spread & Preventing joining to a team lammv 11 10,411 03-15-2013, 12:53
Last Post: lammv
  Sending a plaeyr to axis or allies team lammv 0 2,893 01-26-2013, 18:59
Last Post: lammv
  [Request] Team change by admin command. Dumas 10 11,443 11-29-2012, 21:38
Last Post: 99IRock
Question Help MW3 infected team help koro35 12 12,458 11-23-2012, 07:45
Last Post: 99IRock
  [Request] change team name plugin james ford 7 8,807 11-13-2012, 22:05
Last Post: parsa89
  FUT Team sharing thread iAegle 2 3,598 10-09-2012, 12:45
Last Post: iAegle
  Help Team code bug Elite killer 8 4,861 10-06-2012, 19:30
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.