fatal error 107: too many error messages on one line
#8

Quote:
Originally Posted by Troydere
Посмотреть сообщение
Remove them from the brackets, I don't know why did Eoussama added them anyway.

I already added the semi colons.

PHP код:
switch(listitem// If be more than 2 classes
{
    case 
0Player[playerid][pClass] = GCLASS_0;
    case 
1Player[playerid][pClass] = GCLASS_1;

Please refer to these following links so you can have an idea of what you're doing

https://sampwiki.blast.hk/wiki/Switch
https://sampwiki.blast.hk/wiki/Scripting_Basics
I have no idea why it's giving me this error :S v:
Код:
error 029: invalid expression, assumed zero
gamemodes\Vs.pwn(468) : error 029: invalid expression, assumed zero
gamemodes\Vs.pwn(468 -- 469) : warning 215: expression has no effect
gamemodes\Vs.pwn(469) : error 001: expected token: ";", but found "case"
gamemodes\Vs.pwn(469) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
On line.
Код:
 468| case 0: Player [playerid][pClass] = [GCLASS_0]  // Professional.
         469 | case 1: Player [playerid][pClass] = [GCLASS_1] // Tyrant.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)