Quote:
Originally Posted by SuperViper
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; }
|
It only does the last one.. Im trying to edit it though but if I get a responce I would appriciate it.