Printf doesn't work? :S
#1

Hey,

I have a problem with printf function; tmp is set to "blablabla" and this is the code:

Код:
			printf("[team] %s: %s", name, playerid, tmp); //returns: "[team] Fallout: "
			print(tmp); //returns: blablabla
it doesn't show the tmp in the first line :S
and when I print 'tmp' variable, it shows me the text 'blablabla' so it's not an empty string!

I tried to first format the string, and then sending it with print(); function but that also doesn't work :
Reply


Messages In This Thread
Printf doesn't work? :S - by ғαιιοцт - 31.12.2010, 12:40
Re: Printf doesn't work? :S - by blackwave - 31.12.2010, 12:43
Re: Printf doesn't work? :S - by [03]Garsino - 31.12.2010, 12:44
Re: Printf doesn't work? :S - by Iuri - 31.12.2010, 12:45
Re: Printf doesn't work? :S - by ғαιιοцт - 31.12.2010, 12:48
Re: Printf doesn't work? :S - by ғαιιοцт - 31.12.2010, 12:53

Forum Jump:


Users browsing this thread: 7 Guest(s)