Einzelnen Beitrag anzeigen
Alt 08.02.2009, 22:17   #11 (permalink)
Andi <C.L.A.N.>
50 Beiträge100 Beiträge
 
Benutzerbild von Andi <C.L.A.N.>
 
Registriert seit: 23.05.2008
Ort: SFB
Alter: 37
Beiträge: 170
Standard

@ XENO ... OMG du hast recht - es sollte so aussehen :


if (local server) then
{
_radios = [parso1, somso1, cayso1, dolso1, ortso1, corso1, obrso1, bagso1, eposo1, masso1, pitso1];

{ _x addEventHandler ["hit", {if((_this select 1) != latk) then {(_this select 0) setdamage 0}}];
_c4 = [_x] execVM "scripts\c4only.sqf";
} forEach _radios;

onplayerconnected "[_name] execVM ""scripts\update.sqf"";if(dunit == _name) then {dunit = ""none"";};";
onPlayerDisconnected "dunit = _name;_mark = format[""%1mash"", dunit];deleteMarker _mark;_mark = format[""%1farp"", dunit];deleteMarker _mark;";
};

if ((local server) and not (local player)) exitWith {};
_cevents = [] execVM "scripts\EventsC.sqf";
_nul = [] execVM "Dialogs\Common\CommonDialogFunctions.sqf";

__________________________________________________ ____

wobei alles was danach kommt - also z.B. [] exec "scripts\player_markers.sqs";

geht doch auch ..... hm
Andi <C.L.A.N.> ist offline   Mit Zitat antworten