Post: need source code for displaying host name
10-11-2010, 08:59 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey im making a patch and i need the source code for displaying the host name its something like this


    [{+host}]


Its so it will display the host name so if i done this
    self iprintinbold ("the host =[{+host}]")



It will display this

the host = **** // the ***** is the host
(adsbygoogle = window.adsbygoogle || []).push({});
10-11-2010, 09:35 PM #2
[{level.hostname}]

iPrintln("Welcome to " + [{level.hostname}] + "s Lobby")

Damn its been a while.
10-11-2010, 09:55 PM #3
XeDa
Banned
Originally posted by Macdaddy4sure View Post
[{level.hostname}]

iPrintln("Welcome to " + [{level.hostname}] + "s Lobby")

Damn its been a while.

i thought it was iPrintlnBold("welcome to " + [{level.hostname}] + "s lobby")
Oh well.
10-11-2010, 09:59 PM #4
Originally posted by jrmoney View Post
i thought it was iPrintlnBold("welcome to " + [{level.hostname}] + "s lobby")
Oh well.

"lnBold" is for text in the middle upper part of the screen.

"ln" is for text to the bottom left where the kill feed is. Smile
10-11-2010, 10:01 PM #5
EliteMossy
TheDigitalBoard.com
sometimes level.hostname shows CoD4Host correct me if im wrong?
10-11-2010, 10:07 PM #6
Originally posted by EliteMossy View Post
sometimes level.hostname shows CoD4Host correct me if im wrong?

level.hostname displays the name of the host.

I used to know what COD4Host meant but I can't remember right now...
10-11-2010, 10:24 PM #7
XeDa
Banned
Oh thanks for the info mac

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo