setproperty / getproperty and print / printf / format
#2

getproperty gives you a packed string and you need unpack it before using (most of functions don't like packed ones, and it seems that printf() is one of them)

pawn Код:
new blabla=1000;
setproperty(0,"",blabla,"ABCDEFG");
new noob[120];
getproperty(0,"",blabla,noob);
strunpack(noob, noob);
printf("%s", noob);
Reply


Messages In This Thread
setproperty / getproperty and print / printf / format - by [Ger]Little_Grandpa - 06.06.2010, 17:20
Re: setproperty / getproperty and print / printf / format - by Zeex - 06.06.2010, 17:27
Re: setproperty / getproperty and print / printf / format - by [Ger]Little_Grandpa - 06.06.2010, 17:34

Forum Jump:


Users browsing this thread: 1 Guest(s)