19.09.2010, 11:53
I use these ones:
stringToBool:
boolToString:
stringToBool:
pawn Код:
stock stringToBool(boolean[])
{
new
bools[2][7] =
{
"false",
"true"
}
;
if(!strcmp(boolean, bools[1], true)) return true;
return false;
}
pawn Код:
stock boolToString(boolean)
{
new
bools[2][7] =
{
"false",
"true"
}
;
return bools[boolean];
}