You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.
MasterPuffin edited this page Sep 23, 2017
·
2 revisions
Description
Throws the player to the ground and makes him unable to move, if he is hit with a P07 handgun within a 50 meter radius.
Dependencies
line player removeAllEventHandlers "handleDamage"; in playerEventHandler.sqf
line player addEventHandler["handleDamage",{call PMF_fn_WeaponTazer}]; in playerEventHandler.sqf
Parameters
None
Usage
Automatically handled by the event handler.
The gun type and the range can be customized in the PMF\weapon\fn_Tazer.sqf.
Sets the variable PMF_var_PlayerTazed to true while the player lies on the ground, wich can be used in other scripts, eg. to teleport the player when he is hit by a tazer.