Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Erik on May 20, 2014, 06:06:57 pm

Title: Fix please
Post by: Erik on May 20, 2014, 06:06:57 pm
[pawn]}
   return 1;
   }
   else SendClientMessage( playerid, COLOR_GREEN, "Error: Unknown Command." );
   return 0;
}
[/pawn]

Code: [Select]
C:\Documents and Settings\erik\Asztal\VC-MP server\gamemodes\Test.pwn(2660) : error 010: invalid function or declaration
C:\Documents and Settings\erik\Asztal\VC-MP server\gamemodes\Test.pwn(2661) : error 010: invalid function or declaration
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase


2 Errors.
Title: Re: Fix please
Post by: NeskWriter on May 20, 2014, 10:21:08 pm
Maybe, [pawn]
   else { SendClientMessage( playerid, COLOR_GREEN, "Error: Unknown Command." ); }[/pawn]
?
Title: Re: Fix please
Post by: Erik on May 20, 2014, 10:25:54 pm
Maybe, [pawn]
   else { SendClientMessage( playerid, COLOR_GREEN, "Error: Unknown Command." ); }[/pawn]
?

same errors :(
Title: Re: Fix please
Post by: NeskWriter on May 20, 2014, 10:33:06 pm
could you make a screenshot of your code and errors lines?
Title: Re: Fix please
Post by: Erik on May 20, 2014, 10:38:24 pm
hmmm i think its no need

[pawn]}
   else SendClientMessage( playerid, COLOR_GREEN, "Error: Unknown Command." );
   return 0;
}[/pawn]

for me now 0 errors :)