mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
fixed mission payout
http://epochmod.com/forum/index.php?/topic/41892-payout-trader-mission-broken/
This commit is contained in:
parent
5307051e29
commit
448dd9476b
@ -4,7 +4,6 @@
|
|||||||
Contributors:
|
Contributors:
|
||||||
|
|
||||||
Description:
|
Description:
|
||||||
Server side spawing of shipwreck loots
|
|
||||||
|
|
||||||
Licence:
|
Licence:
|
||||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
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
|
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"];
|
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{};
|
if !([_player,_token]call EPOCH_server_getPToken)exitWith{};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user