15.04.2013, 11:08
how i fix dis code?
Код:
public PingCheck() { for(new i=0;i < MAX_PLAYERS;i++) { if(IsPlayerConnected(i)) { OnPlayerPingUpdate(i); } } return 1; }
Код:
warning 219: local variable "PlayerName" shadows a variable at a preceding level error 035: argument type mismatch (argument 2) warning 213: tag mismatch warning 204: symbol is assigned a value that is never used: "PlayerName" warning 235: public function lacks forward declaration (symbol "PingCheck") warning 235: public function lacks forward declaration (symbol "PingCheck") error 021: symbol already defined: "PingCheck" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.