Ich weis ent was ich hier falsch getan habe
(6323) : error 029: invalid expression, assumed zero
(6323) : warning 215: expression has no effect
(6323) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//das ist die Zeile
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Kadet"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Officer"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Sergeant"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Leutnant"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Captain"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Chef"; }
else { rtext = "Cadet"; }
}