View Single Post
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 10-19-2008 , 14:06   Re: High Ping Kicker - Lite Edition
Reply With Quote #15

Quote:
Originally Posted by Bugsy View Post
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
I had the same problem. I had to update my spcomp / compile programs with the latest version.
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager
Liam is offline