Unknown function

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
Sheep_Wizard
CJ Wannabe
CJ Wannabe
Posts: 9
Joined: August 5th, 2013, 6:35 pm

Unknown function

Post by Sheep_Wizard » August 11th, 2013, 4:51 pm

At the start of my map i want a door to open a message to display on the screen
here is my code

Code: Select all

main()
{
     maps\mp\_load::main();
	 
	 
	 thread startdoor();
	 
}


startdoor()
{
	 
	 door = getEnt("door", "targetname");
	 wait(10);
	 iPrintInBold ("^3ready");
	 door moveY(-150,8);
}
but i get an error saying

unknown function
iPrintInBold ("^3ready")

Is this now the right say to display a message is there something else wrong with my code

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Unknown function

Post by Drofder2004 » August 11th, 2013, 4:59 pm

iPrintLnBold
(Ln = Line)
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Sheep_Wizard
CJ Wannabe
CJ Wannabe
Posts: 9
Joined: August 5th, 2013, 6:35 pm

Re: Unknown function

Post by Sheep_Wizard » August 11th, 2013, 5:02 pm

Drofder2004 wrote:iPrintLnBold
(Ln = Line)
I feel like an idiot xD Thanks

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 31 guests