How do I add a new line when using format()
#6

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
In terms of SendClientMessage, you can only create a new line by either sending multiple instances of SendClientMessage, or using split. I personally think it's easier to just send two SendClientMessage's.

pawn Код:
format(String, sizeof(String), "[INFO] {B3B3B3}Your name is: %s", pName);
SendClientMessage(playerid, 0xB282FAFF, String);
format(String, sizeof(String), "[INFO] {B3B3B3}Your IP address: %s", ip);
SendClientMessage(playerid, 0xB282FAFF, String);
Thank you all very much, this post helped.
Reply


Messages In This Thread
How do I add a new line when using format() - by Bubbly - 24.02.2014, 14:37
Re: How do I add a new line when using format() - by ColeMiner - 24.02.2014, 15:14
Re: How do I add a new line when using format() - by Bubbly - 24.02.2014, 15:35
Re: How do I add a new line when using format() - by FilesMAker - 24.02.2014, 15:41
Re: How do I add a new line when using format() - by Threshold - 24.02.2014, 15:50
Re: How do I add a new line when using format() - by Bubbly - 24.02.2014, 16:15

Forum Jump:


Users browsing this thread: 2 Guest(s)