Jump to content

Recommended Posts

im working on a tazer script that takes like 2 shots to down someone instead of 1 i havent edited the tazer.sqf just the handle damage this is what i inserted

if ((damage player)<.5) exitwith {player setDammage .5};
                            if ((damage player)>=.5) then {

heres where i added it into the script (Line 34)

c92b895c07953f743e2a8067a068fdd9-png.jpg

What would you say is your understanding of SQF and or SQL on a scale of 1/10: 3

Share this post


Link to post
Share on other sites

Try This im not sure if it works but if it dont try and make a new tazer script where you you can make the the first bullet register as a bullet that takes damages like 0.1% of health and add a another line under that whit second bullet tazes. if not contact me in private and ill help you out
 

} else {
 if ((damage player)<.) exitwith {player setDammage .};
    if ((damage player)>=.) then {
} else {
 if ((damage player)<.) exitwith {player setDammage .}; 
    if ((damage player)>=.) then {
    [_unit,_source] spawn life_fnc_tazed;

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×