mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add files via upload
Client side cargo drop function.
This commit is contained in:
13
SQF/dayz_code/actions/veh_cargoDrop.sqf
Normal file
13
SQF/dayz_code/actions/veh_cargoDrop.sqf
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
Created exclusively for DayZ Epoch. Script by JasonTM.
|
||||
*/
|
||||
private "_vehicle";
|
||||
_vehicle = _this select 3;
|
||||
|
||||
r_action_cargoDrop = false;
|
||||
call r_player_removeActions2;
|
||||
//diag_log text format ["Cargo Drop: Vehicle %1",(typeOf _vehicle)];
|
||||
|
||||
// Send the information to the server to complete the drop.
|
||||
PVDZE_cargoDrop = [_vehicle, dayz_authKey, player];
|
||||
publicVariableServer "PVDZE_cargoDrop";
|
||||
Reference in New Issue
Block a user