Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
xxxmlgxxxt

Scripting problem

Recommended Posts

Why isnt this working?

if (assignedVehicleRole _unit == '["Driver"]') then

{

_unit action ["EJECT", vehicle _unit];

};

Share this post


Link to post
Share on other sites

if ((assignedVehicleRole _unit) select 0 == "Driver") then ...

Share this post


Link to post
Share on other sites
if ((assignedVehicleRole _unit) select 0 == "Driver") then ...

Thank you it worked

Share this post


Link to post
Share on other sites
Sign in to follow this  

×