wikipage say;
https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#GetIn
https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#GetOut
params ["_vehicle", "_role", "_unit", "_turret"];
which is incorrect
the correct params is :
params ["_unit", "_role", "_vehicle", "_turret"];