Hello
I need to calculate the ratio player.
But there are problems with the script.
If I did not kill anybody or himself is not dead, then the script in console an error.
But if, as I had killed himself died a few times, then my ratio = 0.00000.
PHP Code:
new userkills = GetClientFrags(client);
new userdeaths = GetClientDeaths(client);
new Float:ratio;
ratio = userkills / userdeaths;
Why is my ratio 0.0000?
Thx!