Quote:
Originally Posted by fysiks
Dividing by zero will result in an error.
|
hmm.. it didnt. the formula returned a value of
0 if aliveplayers were
0.
Quote:
Originally Posted by fysiks
I don't understand this code.
|
how can the below code made more efficient?
PHP Code:
new Float: variableX = MAXm / 400;
if (variableX > 30.0)
{
variableX = 30.0;
}
if (variableX < 15.0)
{
variableX = 15.0;
}
__________________