Jump to content
asdsadasddsa

I can't run fn_keyHandler

Recommended Posts

Hello, we are using NMD script to play with my friends, we want to add stun to that script, I tried some things, can you help me?

 

kod: 

#include ".\..\script_macros.hpp"
/*
* Dosya: fn_keyHandler.sqf
* Yazar: Bryan "Tonic" Boardwine
*
* Açıklama:
* 'keyDown' olay için ana anahtar işleyicisi.
*/

//Knock out, bu güvenli ve evet... (Shift + G)
    durum 34:
        if (_shift) o zaman {_hand = true;};
        if (_shift && playerSide isEqualTo sivil && !isNull imleçObject && imleçObject isKindOf "Adam" && isPlayerimleçObject && canlı imleçObject && imleçObject uzaklık < 4 && hız imleçObject < 1) o zaman {
            if ((animationState imleçObject)" && " currentWeapon player == handgun Weapon player || currentWeapon player == handgunWeapon player) && currentWeapon player != "" && !life_knockout && !(player getVariable ["kısıtlı",false]) && !life_istazed && !
                life_isknocked) sonra { [cursorObject] life_fnc_knockoutAction;
            };
        };
    };
 

Share this post


Link to post
Share on other sites

Did you translate the code? can you post the original (in full)? also format the code as code in the post, that would help as well (the "<>" symbol)

  • Like 1

Share this post


Link to post
Share on other sites
23 saat önce, 7erra dedi ki:

Kodun mi? orijin alini (tam olarak) yayınlayabilir misiniz? ayrıca kodu olarak kullanımda, bu da yardımcı olacaktır ("<>" uygulama)

bu tam kod, başka kod yok

Share this post


Link to post
Share on other sites
13 hours ago, asdsadasddsa said:

bu tam kod, başka kod yok

Translation:

Quote

this is full code, no other code

 

Please use english (https://forums.bohemia.net/guidelines/   ), the code you posted was translated to turkish as well which makes it unreadable

  • Like 1

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

×