ItsMods

Full Version: change team names & score board color
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hi

guys i know in last some days i have some request but i i'm relay sorry for that.

guys i need a code to change team names but with that config for that :

[team name]
enable = true/false
teamname_allies = what you want!!
teamname_axis=what you want!!

And change score board color:

[score board color]
enable = true/false
team_allies = (color in name or hex)
team_axis=(color in name or hex)


Thank you Heart
Sad

Error 1 No overload for method 'Parse' takes '0' arguments

In here:


public override void OnServerFrame()
{
if (stop.Elapsed.Minutes == int.Parse())
{
stop.Reset();
SetDvars();
}
base.OnServerFrame();
}
Has an extra )
What?!!!!
(09-26-2012, 16:39)DidUknowiPwn Wrote: [ -> ]Has an extra )

Then this error pops up

Error 11 No overload for method 'Parse' takes 0 arguments C:\Users\test\documents\visual studio 2010\Projects\score_board\score_board\Class1.cs 18 41 score_board

if (stop.Elapsed.Minutes == int.Parse()) , remove it then Error 12 ) expected C:\Users\test\documents\visual studio 2010\Projects\score_board\score_board\Class1.cs 18 52 score_board
@archit

Plz help.

And also i sent you a pm plz answer to this.
The client requests the teamnames after he connected. Changing the dvar after that request won't change the teamnames (client side). So basically a change to the dvars in OnPlayerConnect would be enough I guess.
Thank you @archit
Now its work perfectly.

But what about my pm?!!
Pages: 1 2