\n not working in my script
#1

So, to practice pawno, I'm trying to make a rather weird mimic of Convoy Trucking, if anyone knows that server, and I've been stumped on a problem.

I removed the health bar and added the name but I also tried adding the Transport Tycoon label under the name, but it just doesnt appear. This is the code I use to do it.

Код:
format(string, sizeof(string), "%s\nTransport Tycoon", pname);
    new Text3D:label2 = Create3DTextLabel(pname, 0xFFFF00FF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(label2, playerid, 0.0, 0.0, 0.2);
Expert scripters I know say they see no problems in it, but it just wont work for me. I've spend all Christmas break looking for a solution (waste of time huh?) only to no avail, no solution.

Please help.
Reply


Messages In This Thread
\n not working in my script - by Calvingreen17 - 28.12.2012, 07:20
Re: \n not working in my script - by Grim_ - 28.12.2012, 07:25
Re: \n not working in my script - by Calvingreen17 - 28.12.2012, 07:43
Re: \n not working in my script - by Calvingreen17 - 28.12.2012, 08:23
Re: \n not working in my script - by roryprayana - 28.12.2012, 08:29
Re: \n not working in my script - by Calvingreen17 - 28.12.2012, 08:32
Re: \n not working in my script - by Calvingreen17 - 28.12.2012, 09:31
Re: \n not working in my script - by Konstantinos - 28.12.2012, 09:42
Re: \n not working in my script - by Calvingreen17 - 28.12.2012, 09:43

Forum Jump:


Users browsing this thread: 2 Guest(s)