Universal Develoment functions for script developers, also included in the compiles of the singel currency.
Updated 28-08-2014
Always succes when removing 0 coins.
999 Headshot system:
// usage
// _removed = [player, 5000] call SC_fnc_removeCoins;
// if(_removed = true)then{ GREAT SUCCES }else{ IT FAILED, not enoguh money};
SC_fnc_removeCoins=
{
private ["_player","_amount","_wealth","_newwealth", "_result"];
_player = _this select 0;