vbawol 2016-04-19 11:00:09 -05:00
parent 5307051e29
commit 448dd9476b

View File

@ -4,7 +4,6 @@
Contributors:
Description:
Server side spawing of shipwreck loots
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
@ -13,7 +12,8 @@
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_server/compile/epoch_missions/EPOCH_Server_fillContainer.sqf
*/
private["_player","_container","_clearFirst","_pos","_chance","_weps","_mags","_items"];
params ["_player",["_token","",[""]],["_container",objNull,[objNull]],["_clearFirst",false],["_chance",25],["_pos",getPosATL _player]];
params ["_player",["_token","",[""]],["_container",objNull,[objNull]],["_clearFirst",false],["_chance",25]];
_pos = getPosATL _player;
if !([_player,_token]call EPOCH_server_getPToken)exitWith{};