16.10.2011, 21:38
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new seatno = GetPlayerVehicleSeat(playerid);
if(vehicleid == Taxi){
if(seatno > 1) return SendClientMessage(playerid, 0xFFFFFFFF ," I am Driveress. I take you to all the airports in San Andreas. My driiving skill was based on an NRG-500. That is why I might drive poorly.");
if(seatno > 2) return SendClientMessage(playerid, 0xFFFFFFFF ," I am Driveress. I take you to all the airports in San Andreas. My driiving skill was based on an NRG-500. That is why I might drive poorly.");
if(seatno > 3) return SendClientMessage(playerid, 0xFFFFFFFF ," I am Driveress. I take you to all the airports in San Andreas. My driiving skill was based on an NRG-500. That is why I might drive poorly.");
if(seatno > 0) return SetPlayerHealth(playerid, 0); SendClientMessage(playerid, 0xFFFFFF, "How can you jack an NPC's CAR?!"); PutPlayerInVehicle(0, Taxi, 0);
}
return 1;
}