Ok
while {true} do {
sleep 1;
_db = cursorTarget getVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((uiNamespace getVariable "life_kennzeichen")displayCtrl 1101)ctrlSetText format["Kein Kennzeichen"];
} else {
if ((Player distance cursorTarget) <= 15) then {
((uiNamespace getVariable "life_kennzeichen")displayCtrl 1101)ctrlSetText format["Kennzeichen: %1",_plate];
} else {
((uiNamespace getVariable "life_kennzeichen")displayCtrl 1101)ctrlSetText format["Zu weit weg"];
};
};
};
Alles anzeigen
Log:
Spoiler anzeigen
23:15:37 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:38 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:38 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:38 Error Zero divisor
23:15:38 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:39 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:39 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:39 Error Zero divisor
23:15:39 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:40 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:40 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:40 Error Zero divisor
23:15:40 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:41 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:41 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:41 Error Zero divisor
23:15:41 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:42 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:42 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:42 Error Zero divisor
23:15:42 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:43 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:43 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:43 Error Zero divisor
23:15:43 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:44 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:44 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:44 Error Zero divisor
23:15:44 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:45 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:45 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:45 Error Zero divisor
23:15:45 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:46 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:46 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:46 Error Zero divisor
23:15:46 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:47 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:47 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:47 Error Zero divisor
23:15:47 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:48 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:48 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:48 Error Zero divisor
23:15:48 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:49 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:49 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:49 Error Zero divisor
23:15:49 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:50 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:50 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:50 Error Zero divisor
23:15:50 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:51 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:51 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:51 Error Zero divisor
23:15:51 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:52 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:52 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:52 Error Zero divisor
23:15:52 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:53 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:53 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:53 Error Zero divisor
23:15:53 File life_server\Functions\DE\kennzeichen\fn_kennzeichendialog.sqf, line 9
23:15:54 Error in expression <etVariable ["dbInfo",[]];
_plate = (_db select 1);
if (isNil {_plate}) then {
((>
23:15:54 Error position: <select 1);
if (isNil {_plate}) then {
((>
23:15:54 Error Zero divisor