I'm getting a compile error for the below. I don't see a missing parenthesis or semi-colon though.
PHP Code:
119 new Float:tickRate = GetTickInterval();
120 new cmdRate = UMIN(StringToInt(rate), 20);
121
122 ping -= ((0.5 / cmdRate) + (tickRate * 1.0));
Code:
SourcePawn Compiler 1.0.3
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC
C:\Program Files\Pawn Studio\temp961.sp(120) : error 001: expected token: ")", but found ";"
C:\Program Files\Pawn Studio\temp961.sp(122) : error 001: expected token: ";", but found "-identifier-"
2 Errors.
Compilation Time: 0.92 sec
__________________