View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-19-2008 , 09:51   Re: High Ping Kicker - Lite Edition
Reply With Quote #13

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
__________________
Bugsy is offline