Jump to content
Sign in to follow this  
thegunnysgt

Eventhandlers

Recommended Posts

I am trying to add a GetIn eventhandler to a config, but it is not working or I am just putting it in the wrong place. Here is the code without my attempts of adding the eventhandler.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class Extended_GetIn_Eventhandlers

{

class Air

{

class UserActions

{

class Display_Radio

{

displayName = "Radio";

OnlyForPlayer = true;

position = "window";

default = false;

radius = 20;

condition = "vehicle player == this";

statement = "this execVM ""\Radio\Radio.sqf"";";

};

};

};

};

Please help. Thanks.

Gunny

Update

Got it to work by replacing the GetIn Eventhandler with CfgVehicles.

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  

×