If you haven't got libcod, you may try this:
PHP Code:
strToFloat(str)
{
setCvar("temp",str);
return GetCvarFloat("temp");
}
If you haven't got libcod, you may try this:
PHP Code:
strToFloat(str)
{
setCvar("temp",str);
return GetCvarFloat("temp");
}
"Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right
filthy_freak_ (6th May 2014)