16.06.2012, 19:51
Anyone haves this function (it would convert string to a boolean (true/false) ? Tried to use search, nothing.
if(sscanf(params, "ll", "true false", bool1, bool2))
pawn Код:
|
pData[playerid][HiddenTrailers][i] = strval(szResult);
pData[playerid][HiddenTrailers][i] = !!strval(szResult);