13.06.2013, 21:30
Now Im getting this error:
And here is the code
Код:
(14157) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
if(IsATruck(newcar))//NEGERJO { if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { else { new rand = random(5); switch(rand) { case 0: { SetPlayerCheckpoint(playerid, Mission1, 3.0); } case 1: { SetPlayerCheckpoint(playerid, Mission2, 3.0); } case 2: { SetPlayerCheckpoint(playerid, Mission3, 3.0); } case 3: { SetPlayerCheckpoint(playerid, Mission5, 3.0); } case 4: { SetPlayerCheckpoint(playerid, Mission6, 3.0); } } } } return 1; }