18.10.2011, 18:55
Thats because '0.008' is a float, and not an integer.
Change the 'else if(sscanf(params,"d",gravity))' to 'else if(sscanf(params,"f",gravity))'
Change the 'else if(sscanf(params,"d",gravity))' to 'else if(sscanf(params,"f",gravity))'