10.04.2008, 17:47
Are you sure you tested it?
I don't think
will work..
Why do you return a distance like 999999999999999.0 if invalid distance? Invalid distance should be a negative number, like -1.0.
And 999999999999999.0 is not even a valid float, as well as 999999999999999 is not a valid number.
I don't think
pawn Код:
stock GetPlayerId(playername[])
{
return return GetPlayerID(partofname[],0);
}
Why do you return a distance like 999999999999999.0 if invalid distance? Invalid distance should be a negative number, like -1.0.
And 999999999999999.0 is not even a valid float, as well as 999999999999999 is not a valid number.