ja konnte mein Problem lösen in der Datenbank waren die [] nicht vorhanden.
Beiträge von Drachentod
-
-
Code
10:43:11 Error in expression <rray = _queryResult select 0; if (count _pricearray < 1) then { diag_log "######> 10:43:11 Error position: <_pricearray < 1) then { diag_log "######> 10:43:11 Error Undefined variable in expression: _pricearray 10:43:11 File life_server\Functions\DynMarket\fn_HandleDB.sqf..., line 33 kann mir bitte jemand sagen was da falsch ist habe es genau nach anleitung gemacht
-
Ich würde gerne wissen ob der Code so klappen kann ?
Code
Alles anzeigen/* File: feuerwehr_port.sqf Author: Drachentod Description: zwischen den Standorten porten. */ if (player getVariable "restrained") exitWith {hint localize "STR_NOTF_isrestrained";}; if (player getVariable "playerSurrender") exitWith {hint localize "STR_NOTF_surrender";}; if (playerSide in [independent] then { private _markerNames = [ ["Feuerwehr Flugplatz", "medic_spawn_2"], ["Feuerwehr Werflingen", "medic_spawn_3"], ["Feuerwehr Velpke", "medic_spawn_1"] ]; { _x params ["_displayName", "_markerName"]; land_gm_euro_furniture_telephone_01 addAction [_displayName, { params ["_target", "_caller", "_id", "_arguments"]; _arguments params ["_markerName"]; _caller setPos (getMarkerPos _markerName); }, [_markerName]]; } foreach _markerNames; }; if (playerSide in [west,civilian] exitWith {hint localize "STR_NO_Medic";};