Hallo NN-Community,
ich habe wieder 2 Fehler gefunden die ich selbst nicht weg bekomme.
Hier die Fehler:
1.
Code
20:13:54 Error Nicht definierte Variable in Ausdruck: indep
20:13:54 File mpmissions\__CUR_MP.Altis\core\medical\fn_medicalEnter.sqf, line 8
20:14:05 Error in expression <dicalEnter.sqf"
if(playerSide != indep) exitWith {};
private ["_position">
20:14:05 Error position: <indep) exitWith {};
private ["_position">
Alles anzeigen
Datei:
Code: fn_copEnter.sqf
´/*
File: fn_copEnter.sqf
Description:
*/
if(playerSide != indep) exitWith {};
private ["_position","_veh"];
_position = _this select 3;
switch (_position) do
{
case "driver":
{
cursorTarget lock false;
player action ["getInDriver", cursorTarget];
cursorTarget lock true;
};
case "passenger":
{
cursorTarget lock false;
player action ["getInCargo", cursorTarget];
cursorTarget lock true;
};
case "gunner":
{
cursorTarget lock false;
player action ["getIngunner", cursorTarget];
cursorTarget lock true;
};
case "exit":
{
_veh = vehicle player;
_veh lock false;
player action ["getOut", _veh];
_veh lock true;
};
};
Alles anzeigen
2.
Code
20:16:01 Error in expression <hudSetup;
[player, uniform player] call life_fnc_equipGear;
};>
20:16:01 Error position: <life_fnc_equipGear;
};>
20:16:01 Error Nicht definierte Variable in Ausdruck: life_fnc_equipgear
20:16:01 File mpmissions\__CUR_MP.Altis\dialog\function\fn_spawnConfirm.sqf, line 84
Datei:
Code: fn_spawnConfirm.sqf
/*
File: fn_spawnConfirm.sqf
Author: Bryan "Tonic" Boardwine
Description:
Spawns the player where he selected.
*/
private["_spCfg","_sp","_spawnPos"];
closeDialog 0;
cutText ["","BLACK IN"];
if(count life_spawn_point == 0) then
{
private["_sp","_spCfg"];
_spCfg = [playerSide] call life_fnc_spawnPointCfg;
_sp = _spCfg select 0;
if(playerSide == civilian) then
{
if(isNil {(call compile format["%1", _sp select 0])}) then {
player setPos (getMarkerPos (_sp select 0));
} else {
_spawnPos = (call compile format["%1", _sp select 0]) call BIS_fnc_selectRandom;
_spawnPos = _spawnPos buildingPos 0;
player setPos _spawnPos;
};
}
else
{
player setPos (getMarkerPos (_sp select 0));
};
titleText[format["%2 %1",_sp select 1,localize "STR_Spawn_Spawned"],"BLACK IN"];
}
else
{
if(playerSide == civilian) then
{
if(isNil {(call compile format["%1",life_spawn_point select 0])}) then {
if((["house",life_spawn_point select 0] call BIS_fnc_inString)) then {
private["_bPos","_house","_pos"];
_house = nearestObjects [getMarkerPos (life_spawn_point select 0),["House_F"],10] select 0;
_bPos = [_house] call life_fnc_getBuildingPositions;
if(count _bPos == 0) exitWith {
player setPos (getMarkerPos (life_spawn_point select 0));
};
{_bPos = _bPos - [(_house buildingPos _x)];} foreach (_house getVariable ["slots",[]]);
_pos = _bPos call BIS_fnc_selectRandom;
player setPosATL _pos;
} else {
player setPos (getMarkerPos (life_spawn_point select 0));
};
} else {
_spawnPos = (call compile format["%1", life_spawn_point select 0]) call BIS_fnc_selectRandom;
_spawnPos = _spawnPos buildingPos 0;
player setPos _spawnPos;
};
}
else
{
player setPos (getMarkerPos (life_spawn_point select 0));
};
titleText[format["%2 %1",life_spawn_point select 1,localize "STR_Spawn_Spawned"],"BLACK IN"];
};
[] spawn {
cutText ["","BLACK IN"];
if(life_firstSpawn) then {
private["_handle"];
// [] execVM "core\spartan\camcolor.sqf";
// _handle = [] execVM "core\spartan\camfly.sqf";
_handle = [] spawn life_fnc_initIntro;
waitUntil {scriptDone _handle};
life_firstSpawn = false;
};
/*
if(life_firstSpawn) then {
life_firstSpawn = false;
[] call life_fnc_welcomeNotification;
};
*/
[] call life_fnc_hudSetup;
[player, uniform player] call life_fnc_equipGear;
};
Alles anzeigen
Ich hoffe jemand kann mir helfen.