#3

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Too much curly braces, bro:

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(DVehicles[1] || DVehicles[2] || DVehicles[3] || DVehicles[4]  == vehicleid)
    {
        SendClientMessage(playerid, COLOR_LIGHTRED, "DELIVERY JOB:{FFFFFF} To start a Delivery Job use /deliverstock. (Rule: You may not use this vehicle for personal use)");
    }
    else
    {
        //something else here if you are having a lock system
    }
   
    if(PBVehicles[1] || PBVehicles[2] || PBVehicles[3] || PBVehicles[4]  == vehicleid)
    {
        SendClientMessage(playerid, COLOR_LIGHTRED, "PIZZA JOB:{FFFFFF} To start a Pizza Job use /deliverpizza. (Rule: You may not use this vehicle for personal use)");
    }
    else
    {
        //something else here if you are having a lock system
    }
    return 1;
}
thanks, +rep
Reply


Messages In This Thread
Help - by ZachKnoxx - 29.05.2015, 00:23
Re: Help - by SickAttack - 29.05.2015, 00:34
Re: Help - by ZachKnoxx - 29.05.2015, 00:36

Forum Jump:


Users browsing this thread: 2 Guest(s)