hay,
habe das problem , das ich fehler angezeigt bekomme, und finden aber den fehler in der datai nicht
hier die sqf
Spoiler anzeigen
#include "..\..\script_macros.hpp"
/*
File: fn_jihad.sqf
Author: Credits to Yolo Joe for Original Script / Fixed by @Heavy_Bob and @Liam0.
Special thanks to @NiiRoZz and @tkcjesse for additional input.
Description:
A suicide vest. Yes this is a bomb. Handle with causion.
*/
private["_unit","_bomb"];
_unit = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param;
// checks
if(isNil "_unit" isNull _unit
!isPlayer _unit
life_isknocked
life_istazed
(vehicle _unit != _unit)
!alive _unit
(_unit GVAR ["restrained",false])) exitWith {};
if(vest _unit != "V_Press_F") exitWith {hint "Sie tragen keine Selbstmordweste.";}; // Need add to localize but Jawshy i think do commit inside stringtable
if (player distance (getmarkerpos "sz_1") < 70 OR player distance (getmarkerpos "sz_2") < 200 OR player distance (getmarkerpos "sz_3") < 500 OR player distance (getmarkerpos "civ_terminal_2") < 250) exitWith {hint "Some supernatural force prevents you from detonating a bomb in this holy place!"};
// Bomb
_bomb = "Bomb_04_F";
[_unit,"jihad"] remoteExec ["life_fnc_say3D",RANY];
uiSleep 2.424;
_unit setDamage 999999999999;
_bomb createVehicle (ASLtoATL (getPosASL _unit));
removeVest _unit;