one line error
#1

error 002: only a single statement (or expression) can follow each "case"
error 022: must be lvalue (non-constant)
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

pawn Код:
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pDuty] = 1);
Reply
#2

Forgot to say, this is the error line what i wrote up.
Reply
#3

Remove that : ";'
Reply
#4

Still having the same thing.
Reply
#5

someone?
Reply
#6

you are using any case statments there?
Reply
#7

Show the full script, sometimes errors get reported on the false line.
Reply
#8

First of all, remove that ';'. Second of all, I cannot believe how several people failed to notice the ending of the 'if' statement...

pawn Код:
PlayerInfo[playerid][pDuty] = 1
Should be:
pawn Код:
PlayerInfo[playerid][pDuty] == 1
Reply
#9

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
First of all, remove that ';'. Second of all, I cannot believe how several people failed to notice the ending of the 'if' statement...

pawn Код:
PlayerInfo[playerid][pDuty] = 1
Should be:
pawn Код:
PlayerInfo[playerid][pDuty] == 1
im getting now 26 errors for unknown lines..
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)