26.07.2015, 19:27
Hi I have a problem! gives me this error:
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : warning 211: possibly unintended assignment
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : error 022: must be lvalue (non-constant)
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : warning 215: expression has no effect
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : error 001: expected token: ";", but found ")"
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : error 029: invalid expression, assumed zero
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
This is the line .. How can I fix
if(newcar == 106 || newcar == 107 || newcar == 108 || newcar == 109 || newcar == 144 || newcar == 145 || newcar == 146 || newcar = 14
{
if(PlayerInfo[playerid][pMember] != 13 && PlayerInfo[playerid][pLeader] != 13)
{
SendClientMessage(playerid,COLOR_WHITE,"Nu esti membru {E4895E}Orleans Crime Family{FFFFFF}!");
RemovePlayerFromVehicle(playerid);
}
if(newcar == 105 && PlayerInfo[playerid][pRank] < 4)
{
SendClientMessage(playerid,COLOR_WHITE,"Iti trebuie {E4895E}rank 4{FFFFFF}!");
RemovePlayerFromVehicle(playerid);
}
}
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : warning 211: possibly unintended assignment
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : error 022: must be lvalue (non-constant)
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : warning 215: expression has no effect
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : error 001: expected token: ";", but found ")"
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : error 029: invalid expression, assumed zero
D:\Desktop\E-Gaming\gamemodes\egaming.pwn(8570) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
This is the line .. How can I fix
if(newcar == 106 || newcar == 107 || newcar == 108 || newcar == 109 || newcar == 144 || newcar == 145 || newcar == 146 || newcar = 14
{
if(PlayerInfo[playerid][pMember] != 13 && PlayerInfo[playerid][pLeader] != 13)
{
SendClientMessage(playerid,COLOR_WHITE,"Nu esti membru {E4895E}Orleans Crime Family{FFFFFF}!");
RemovePlayerFromVehicle(playerid);
}
if(newcar == 105 && PlayerInfo[playerid][pRank] < 4)
{
SendClientMessage(playerid,COLOR_WHITE,"Iti trebuie {E4895E}rank 4{FFFFFF}!");
RemovePlayerFromVehicle(playerid);
}
}