Jump to content
Sign in to follow this  
blackpixxel

Start *.sqf when reloading

Recommended Posts

Hi,

for a custom reload animation I need to run a *.sqf file when the player want's to reload.

I already tried:

reloadAction = "\file\path\name.sqf";

reloadAction ="_this exec '\file\path\name.sqf'";

But both did not work.

So, how do I have to do this exaclty?

Thank you for your help!

Share this post


Link to post
Share on other sites

reloadAction = [this] execVM "\file\path\name.sqf";

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  

×