24.12.2010, 13:44
(
Последний раз редактировалось iggy1; 24.12.2010 в 13:47.
Причина: Typo in code
)
I don't know if theres another better way available but i wrote a quick function that might work. (not tested)
You could use that in format with %s specifier.
pawn Код:
ReturnBoolString(value)
{
if(value > 0)
{
new str[5] = {"true"};
return str;
}
else
{
new str[6] = {"false"};
return str;
}
}