EpochModTeam / Epoch

Epoch Survival Game Mode for ARMA 3
http://epochmod.com/
Other
91 stars 82 forks source link

Wrong params #981

Closed mr-guard closed 6 years ago

mr-guard commented 6 years ago

https://github.com/EpochModTeam/Epoch/blob/a9dc9f044b58894f536b8dffbcc9ee013dc6ea8d/Sources/epoch_code/compile/functions/EPOCH_client_updatePlayerStat.sqf#L44

first and second args of EPOCH_fnc_updatePlayerStats are of type "object"

a fix could be:

[player, objNull, _statType, _adjust, false, Epoch_personalToken] remoteExec ["EPOCH_fnc_updatePlayerStats",2];

However, it could be you need to edit some filters (e.g. Remoteexec or so)

vbawol commented 6 years ago

Thanks for the fix!