my bad work
#1

Код HTML:
if(PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18) || if(PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 16) || if(PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15)  || if(PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13) || if(PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 12);
Код HTML:
C:\Users\Gigi\Desktop\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(36778) : error 029: invalid expression, assumed zero
C:\Users\Gigi\Desktop\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(36778) : warning 215: expression has no effect
C:\Users\Gigi\Desktop\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(36778) : error 001: expected token: ";", but found "if"
C:\Users\Gigi\Desktop\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(36778) : error 029: invalid expression, assumed zero
C:\Users\Gigi\Desktop\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(36778) : fatal error 107: too many error messages on one line

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


4 Errors.
wtf big sorrys
Reply
#2

pawn Код:
if(PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15  || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 12)
Reply
#3

You cannot have a if inside other if ._.
use this
pawn Код:
if(PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 16 || iPlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15  || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 12)
One more thing i noticed a ; in front of if line, that should not be there, you cannot put a ; in front of if statement...

EDIT: Too late reply.. i was typing while the above person posted..
Reply
#4

Show us the previous lines
Reply
#5

The answer was already given to you in your other topic about this same thing:
https://sampforum.blast.hk/showthread.php?tid=549707
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)