mirror of
https://github.com/slb2k11/Exile_Igiload.git
synced 2024-08-30 17:32:13 +00:00
Igiload
This commit is contained in:
parent
7901bbf00b
commit
0c2d58a003
2848
Igiload/IgiLoad.sqf
Normal file
2848
Igiload/IgiLoad.sqf
Normal file
File diff suppressed because it is too large
Load Diff
50
Igiload/IgiLoadInit.sqf
Normal file
50
Igiload/IgiLoadInit.sqf
Normal file
@ -0,0 +1,50 @@
|
||||
waituntil {!isnil "bis_fnc_init"};
|
||||
//if (isDedicated) exitwith {};
|
||||
//if (isServer) exitwith {};
|
||||
//waitUntil { !(isNull player) };
|
||||
waitUntil { time > 0 };
|
||||
|
||||
IL_EV_Count = 0;
|
||||
IL_Veh_Array = [];
|
||||
|
||||
cutText ["IgiLoad is loading. Please wait...","PLAIN",2];
|
||||
sleep (random 30);
|
||||
|
||||
cutText [Format ["IgiLoad init Player: %1", Player],"PLAIN",2];
|
||||
|
||||
_null = [Player] execVM "IgiLoad\IgiLoad.sqf";
|
||||
waitUntil {scriptDone _null};
|
||||
|
||||
sleep (random (IL_Check_Veh_Max - IL_Check_Veh_Min));
|
||||
|
||||
{
|
||||
if ((typeOf _x) in (IL_Supported_Vehicles_All)) then
|
||||
{
|
||||
IL_Veh_Array = IL_Veh_Array + [_x];
|
||||
_null = [_x] execVM "IgiLoad\IgiLoad.sqf";
|
||||
waitUntil {scriptDone _null};
|
||||
};
|
||||
} forEach (vehicles);
|
||||
|
||||
cutText ["IgiLoad loaded. Have fun :)","PLAIN",2];
|
||||
|
||||
while {true} do
|
||||
{
|
||||
sleep (IL_Check_Veh_Min + (random (IL_Check_Veh_Max - IL_Check_Veh_Min)));
|
||||
|
||||
//Delete vehicles from "IL_Veh_Array" if not in "vehicles"
|
||||
{
|
||||
if !(_x in vehicles) then
|
||||
{
|
||||
IL_Veh_Array = IL_Veh_Array - [_x];
|
||||
};
|
||||
} forEach (IL_Veh_Array);
|
||||
{
|
||||
if (((typeOf _x) in (IL_Supported_Vehicles_All)) && !(_x in IL_Veh_Array)) then
|
||||
{
|
||||
IL_Veh_Array = IL_Veh_Array + [_x];
|
||||
_null = [_x] execVM "IgiLoad\IgiLoad.sqf";
|
||||
waitUntil {scriptDone _null};
|
||||
};
|
||||
} forEach (vehicles);
|
||||
};
|
BIN
Igiload/images/load.paa
Normal file
BIN
Igiload/images/load.paa
Normal file
Binary file not shown.
BIN
Igiload/images/unload.paa
Normal file
BIN
Igiload/images/unload.paa
Normal file
Binary file not shown.
BIN
Igiload/images/unload_all_para.paa
Normal file
BIN
Igiload/images/unload_all_para.paa
Normal file
Binary file not shown.
BIN
Igiload/images/unload_para.paa
Normal file
BIN
Igiload/images/unload_para.paa
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user