[HELP] Gets Errors..
#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


Messages In This Thread
[HELP] Gets Errors.. - by KomplettMaster - 14.01.2013, 19:46
Re: [HELP] Gets Errors.. - by LarzI - 14.01.2013, 20:22

Forum Jump:


Users browsing this thread: 1 Guest(s)