Jump to content
Sign in to follow this  
cc_kronus

Help with Syntax

Recommended Posts

Hi II am calling a script from the init.sqf but it on start up there is the black window with an error. (unfortunately, the window don't show the kind of error it is).  I have tried many things but I am totally unable to figure what is wrong. 
 

this is the code. 

{
    if (side _x == civilian && _x isKindOf "Helicopter") then {
        _x addEventHandler ["GetIn", "if ((_this select 2) == driver (_this select 0)) then {nul = [(_this select 0),(_this select 2)] execVM 'helocrew\crewIn.sqf'}"];
    };
} forEach vehicles;

 

Can someone, please, take a look at it and let me know what may be wrong?

 

Thanks

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×