log
Habe ich schon einmal gepostet es gibt keine Fehler.
Item:
Code
class baukastenSUV {
variable = "baukastenSUV";
displayName = "STR_Item_Toolkit";
weight = 4;
buyPrice = 350;
sellPrice = 100;
illegal = false;
edible = -1;
icon = "";
};
Code
/*
FN_Fahrzeugname.sqf
Author: Raphi für Native Network
*/
_vehicle = createVehicle ["I_Heli_light_03_F ", position player, [], 0, "NONE"]; //Classname
waitUntil {!isNil "_vehicle"}; //Warten
_vehicle allowDamage false;
_vehicle lock 2;
_vehicle allowDamage true;
[_vehicle] call life_fnc_clearVehicleAmmo;
[_vehicle,"trunk_in_use",false,true] remoteExec ["TON_fnc_setObjVar", 2];
[_vehicle,"vehicle_info_owners",[[getPlayerUID player,profileName]],true] remoteExec ["TON_fnc_setObjVar", 2];
_vehicle disableTIEquipment true;
life_vehicles pushBack _vehicle;
[getPlayerUID player,playerSide,_vehicle,1] remoteExec ["TON_fnc_keyManagement", 2];
[(getPlayerUID player),playerSide,_vehicle,0] remoteExec ["TON_fnc_vehicleCreate", 2];
[0] call SOCK_fnc_updatePartial;
Alles anzeigen