[HELP] Gets Errors..
#1

Hey

The Error Code :
http://pastebin.com/77L82QX1

The Errors :
Quote:

C:\Users\Ben Roger\Desktop\Truck\pawno\include\PPC_PlayerComman ds.inc(1021) : error 029: invalid expression, assumed zero
C:\Users\Ben Roger\Desktop\Truck\pawno\include\PPC_PlayerComman ds.inc(1022) : warning 215: expression has no effect
C:\Users\Ben Roger\Desktop\Truck\pawno\include\PPC_PlayerComman ds.inc(1024) : warning 217: loose indentation
C:\Users\Ben Roger\Desktop\Truck\pawno\include\PPC_PlayerComman ds.inc(1024) : error 029: invalid expression, assumed zero
C:\Users\Ben Roger\Desktop\Truck\pawno\include\PPC_PlayerComman ds.inc(1024 -- 1025) : warning 215: expression has no effect
C:\Users\Ben Roger\Desktop\Truck\pawno\include\PPC_PlayerComman ds.inc(1025) : error 001: expected token: ";", but found "default"
C:\Users\Ben Roger\Desktop\Truck\pawno\include\PPC_PlayerComman ds.inc(1025) : warning 217: loose indentation
C:\Users\Ben Roger\Desktop\Truck\pawno\include\PPC_PlayerComman ds.inc(1025) : error 014: invalid statement; not in switch
C:\Users\Ben Roger\Desktop\Truck\pawno\include\PPC_PlayerComman ds.inc(1025) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

Can Someone Fix Them?
Reply
#2

pawn Код:
case ClassTaxiDriver:
                {
                    // Check if the player is the driver of a vehicle
                    if (GetPlayerVehicleSeat(playerid) == 0)
                    {
                        // Check if the player is inside a valid trucking vehicle
                        switch (GetVehicleModel(GetPlayerVehicleID(playerid)))
                        {
                            case VehicleTaxi, VehicleCabbie: // Flatbed, DFT-30, CementTruck
                                    TaxiDriver_StartRandomJob(playerid); // Start a random job
                            default: SendClientMessage(playerid, 0xFF0000FF, "You need to be the driver of a trucking vehicle to start a job");
                        }
                    }
                    else
                        SendClientMessage(playerid, 0xFF0000FF, "You need to be the driver of a trucking vehicle to start a job");
                }
Something like this? I'm not sure what you really want.

Also:
Quote:

+1 Rep To Me If I Helped You!

Really man? People will give you rep if they feel you deserved it - don't ask for it or beg for it, that's just dumb.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)