Getting AAALOT of errors
#4

Now Im getting this error:
Код:
(14157) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
And here is the code
Код:
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;
        }
Reply


Messages In This Thread
Getting AAALOT of errors - by goviscrap - 13.06.2013, 21:12
AW: Getting AAALOT of errors - by HurtLocker - 13.06.2013, 21:18
Re: Getting AAALOT of errors - by -CaRRoT - 13.06.2013, 21:19
Re: Getting AAALOT of errors - by goviscrap - 13.06.2013, 21:30
AW: Getting AAALOT of errors - by HurtLocker - 13.06.2013, 21:36
Re: Getting AAALOT of errors - by -CaRRoT - 13.06.2013, 21:41

Forum Jump:


Users browsing this thread: 1 Guest(s)