31.12.2010, 12:40
Hey,
I have a problem with printf function; tmp is set to "blablabla" and this is the code:
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 :
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
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 :