Displaying msg in rows
#7

Quote:
Originally Posted by Ralfie
View Post
sscanf!

Code:
	new
		info[3][10];

	sscanf("Test1, test2, test3", "p<,>s[10]s[10]s[10]", info[0], info[1], info[2]);
	for (new i = 0; i != 3; i++) {
		printf("%i)))   %s", i, info[i]);
	}
And you will get:

Code:
 Test1
 test2
 test3
How can I do this when I'm using PlayerInfo[playerid][TicketInfo]; ?
Reply


Messages In This Thread
Displaying msg in rows - by Lajko1 - 21.07.2015, 13:18
Re: Displaying msg in rows - by zT KiNgKoNg - 21.07.2015, 13:32
Re: Displaying msg in rows - by Mariciuc223 - 21.07.2015, 13:32
Re: Displaying msg in rows - by Lajko1 - 21.07.2015, 13:44
Re: Displaying msg in rows - by Evocator - 21.07.2015, 16:07
Re: Displaying msg in rows - by GTLS - 21.07.2015, 17:06
Re: Displaying msg in rows - by Lajko1 - 21.07.2015, 17:56
Re: Displaying msg in rows - by Stereotype - 21.07.2015, 19:09

Forum Jump:


Users browsing this thread: 1 Guest(s)