C:\Users\Zachary.Zach-HP.000\Desktop\Folders\SA-MP\IBS\gamemodes\IBS.pwn(34634) : error 029: invalid expression, assumed zero C:\Users\Zachary.Zach-HP.000\Desktop\Folders\SA-MP\IBS\gamemodes\IBS.pwn(34634) : warning 215: expression has no effect C:\Users\Zachary.Zach-HP.000\Desktop\Folders\SA-MP\IBS\gamemodes\IBS.pwn(34634) : error 001: expected token: ";", but found "if" C:\Users\Zachary.Zach-HP.000\Desktop\Folders\SA-MP\IBS\gamemodes\IBS.pwn(34634) : error 001: expected token: "*then", but found ";" C:\Users\Zachary.Zach-HP.000\Desktop\Folders\SA-MP\IBS\gamemodes\IBS.pwn(34634) : fatal error 107: too many error messages on one line
new rank[128]; if(PlayerInfo[playerb][pFac] >= 1) format(rank, sizeof(rank), "%s", RPFRN(playerb)); { else if format(rank, sizeof(rank), "None"); } else if(PlayerInfo[playerb][pFam] >=1) format(rank, sizeof(rank), "%s", RPFaRN(playerb)); { else if format(rank, sizeof(rank), "None"); }
new rank[128];
if(PlayerInfo[playerb][pFac]) format(rank, sizeof(rank), "%s", RPFRN(playerb));
else if(PlayerInfo[playerb][pFam]) format(rank, sizeof(rank), "%s", RPFaRN(playerb));
else rank = "None";
pawn Код:
https://sampwiki.blast.hk/wiki/Control_Structures |