2016-04-27 10:09:01 +00:00
|
|
|
// Triggered if a player gets off the public transport
|
|
|
|
|
|
|
|
_transport = _this select 0;
|
|
|
|
_unit = _this select 2;
|
|
|
|
|
2016-05-31 15:22:42 +00:00
|
|
|
_driver = driver _transport;
|
2016-06-05 02:52:03 +00:00
|
|
|
//_driver vehiclechat SC_occupyTransportGetOut;
|
2016-05-31 15:22:42 +00:00
|
|
|
|
2016-04-27 10:09:01 +00:00
|
|
|
if(_transport isKindOf "LandVehicle") then
|
|
|
|
{
|
|
|
|
_transport setFuel 0;
|
|
|
|
_transportDriver = driver _transport;
|
|
|
|
_transportDriver disableAI "MOVE";
|
2016-05-05 11:23:52 +00:00
|
|
|
};
|