_entreprise = player getVariable ["current_entreprise",objNull];
if (isNull _entreprise) then {
[(getPlayerUID player),playerSide,_itemGive,(getNumber (_config >> "vehicleTextureIndex"))] remoteExec ["max_craft_fnc_craftVehicle",2];
} else {
[(_entreprise getVariable ["entreprise_pdg_pid",(getPlayerUID player)]),playerSide,_itemGive,(getNumber (_config >> "vehicleTextureIndex")),(_entreprise getVariable ["entreprise_id",0])] remoteExec...