Open ReDBaroN1 opened 8 years ago
This is the error in the server rpt:
3:13:45 Error in expression <'; _vars = _player getVariable['VARS',[]+EPOCH_defaultVars_SEPXVar]; _curcrypt => 3:13:45 Error position: <+EPOCH_defaultVars_SEPXVar]; _curcrypt => 3:13:45 Error +: Type code, expected Number,Array,String,Not a Number 3:13:45 File mpmissions\__cur_mp.Altis\custom\HALV_takegive_crypto.sqf, line 9
@ReDBaroN1 @Halvhjearne Check out this function that should do the exact same thing as your takegive_crypto function
Done server side only:
[_player,100] call EPOCH_server_effectCrypto; // adds 100
[_player,-100] call EPOCH_server_effectCrypto; // removes 100
Thanks vbawol. He-Man modified it for me in the end as I couldn't get it to work. Haven't seen or heard from Halv on Epoch for a while. Appreciate the reply though.
Hey Halvhjearne, any chance of a new version of this for the latest epoch update?
I use both your service point and blackmarket traders but, since the update I've had to turn them off because they don't credit/debit any crypto....
Thanks