Page 1 of 1
print to console
Posted: Mon Jun 27, 2005 11:10 pm
by ViPER
How to print to console without printing to game screen?
Posted: Mon Jun 27, 2005 11:27 pm
by lizardkid
echo "string"
print "string"
Posted: Mon Jun 27, 2005 11:47 pm
by Elgan
println "string"
printline
print will print a stirng without a new line
Posted: Tue Jun 28, 2005 12:07 am
by ViPER
hmmm, maybe because im using spearhead?
echo and printline crash my scr
print and println doesnt work for me, nothing happens?
but
iprintln puts it on the game screen and i know several variations on that - bold , noloc, whatever - anyways-
i want to print some cvars and also put printflags so i can test my scripts without alot of chunk sowing up on the screen!! just in console
stupid stuff -
what is string? - can you give me some examples of print to console with these results??
like a var -
print "local.countpeeps"
and just text
print "it worked"
do i need () or something?
Posted: Tue Jun 28, 2005 12:32 am
by lizardkid
ok, use println
Posted: Tue Jun 28, 2005 12:35 am
by ViPER
yea used -
print "hello"
print ("hello")
println "hello"
println ("hello")
nothing

Posted: Tue Jun 28, 2005 2:48 am
by Elgan
maybe have develepor 1?
Posted: Tue Jun 28, 2005 2:55 am
by ViPER
ummm ? whats that? i guess not? need a scripter LOL
Posted: Tue Jun 28, 2005 2:57 am
by Elgan
in console type
developer 1
Posted: Tue Jun 28, 2005 11:03 pm
by ViPER
yea that did it ty
Posted: Fri Jul 01, 2005 2:00 am
by Green Beret
Viper wrote:yea used -
print "hello"
print ("hello")
println "hello"
println ("hello")
nothing

try putting the
i in front of print
iprintln "Hello"
Posted: Fri Jul 01, 2005 2:39 am
by lizardkid
taht prints it to screen. he wants to console
Posted: Fri Jul 01, 2005 4:06 am
by Green Beret
Yea, I have the same problem.I even set it to developer 1