VN_fnc_fired_refuel
VN_fnc_fired_refuel
Fired eventhandler which will delete the projectile and refuel the vehicle back to full fuel.
Syntax
[
_vehicle,
_weapon,
_muzzle,
_mode,
_ammo,
_magazine,
_projectile,
_gunner,
_drop
] call VN_fnc_fired_refuel;Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
_vehicle |
Object | OBJNULL |
Vehicle firing the weapon |
_weapon |
String | "" |
Weapon that is fired |
_muzzle |
String | "" |
Weapon muzzle that is fired |
_mode |
String | "" |
Weapon mode |
_ammo |
String | "" |
Weapon ammo that is fired |
_magazine |
String | "" |
Weapon magazine that is fired |
_projectile |
Object | OBJNULL |
Weapon magazine that is fired |
_gunner |
Object | OBJNULL |
Object that fired the weapon |
_drop |
Boolean | FALSE |
Should the projectile be dropped |
Return value
Boolean - Function reached the end