Login x
User Name:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

0 Active | 47 Guests


New Game
General Gaming
Mohaa maps on Cod2?
CoD2 MP Mapping



Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Restricted Access Topic is Locked subscribe
Author Topic: CoD4 promod hostname
General Member
Since: Jun 14, 2013
Posts: 1
Last: Jun 14, 2013
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Friday, Jun. 14, 2013 08:10 am
hello sorry no english!

pls help me, Not work my script: _hostname.gsc

    wait 0.05;
    thread back();
    level.oldName = Getdvar( "sv_hostname" );
        level waittill( "round_started" );
        newName = oldName + "^1, Round ^5 " + game["roundsplayed"] + " ^1/ ^5" + level.dvar["round_limit"];
        SetDvar( "sv_hostname", newName  );

    level waittill("intermission");
    SetDvar( "sv_hostname", level.oldName);
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

Latest Syndicated News

Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends