1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00
ACE3/addons/weaponselect/functions/fnc_putWeaponAway.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes ()
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

21 lines
326 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: commy2
* The unit will put its current weapon away.
*
* Arguments:
* 0: Unit <OBJECT>
*
* Return Value:
* None
*
* Example:
* [player] call ace_weaponselect_fnc_putWeaponAway
*
* Public: Yes
*/
params ["_unit"];
_unit action ["SwitchWeapon", _unit, _unit, 299];