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

Count the times displayAddEventHandler gets triggered?

Recommended Posts

Hello all

Atm I have this code and it works to load the script:

disableSerialization;

keyspressed = compile preprocessFile "wirecutter.sqf";
display = (findDisplay 46) displayAddEventHandler ["MouseButtonDown", "_this call keyspressed"];

How do I make a counter that counts the number of times the player pushes the mousebutton?

/Jacob

Share this post


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

×