Jump to content
Sign in to follow this  
DerToXXic

Vehicle interaction menu with repair button

Recommended Posts

Hello,

 

I'm wanted to make a interaction menu on every vehicle witch is spawned with Zeus. In the menu should be a repair button.

Can somebody help me how I can do this?

Share this post


Link to post
Share on other sites

In my opinion, the easiest way to make this is to add an addAction to the player which checks whether your cursorTarget is a vehicle and that it's not too far away etc.

 

Look into the setUserActionText command on how to change the action button into an icon.

This is the repair icon: "\a3\ui_f\data\IGUI\Cfg\Actions\repair_ca.paa".

 

If you need a specific help, link your code.

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  

×