Need help with mARMAcp scripts.

1 post in this topic

I see some old ones on this site but they dont seem to work with the new exile. Does anyone know where i can find new ones or if someone can write one for me? I'd appreciate it very much!

The one i have now that doesnt work is a money event:

["ExileMoneyEvent", 1000] spawn {
	_amount = _this select 1;
  	_admin = _this select 0;

	["SuccessTitleAndText", ["Moneyrain Event", "Event starts in 5 seconds!"]] call ExileClient_gui_toaster_addTemplateToast;
	uiSleep 4;
	["SuccessTitleAndText", ["Moneyrain Event", "Moneyrain starts now!"]] call ExileClient_gui_toaster_addTemplateToast;
	uiSleep 1;
		_currentAccountBalance = _x getVariable ["ExileMoney", 0];
        _currentAccountBalance = _currentAccountBalance + _amount;

        _x setVariable ["ExileMoney", _currentAccountBalance];
		// Database query but its outdated.
        //format["setAccountMoney:%1:%2", _currentAccountBalance, getPlayerUID _x] call ExileServer_system_database_query_fireAndForget;
        //[_x, "moneyReceivedRequest", [str _currentAccountBalance, _admin]] call ExileServer_system_network_send_to;
	} forEach allPlayers;

The messages show up on screen but the player doesn't get any money.


I was also hoping to find one that has makes messages pop up on screen when the server is going to restart in 30 minutes and every 10 minutes after that


If anyone can help me with both of these problems i'd be willing to compensate them with $5 from paypal! Sorry id offer more but im pretty poor lol

Edited by ProfessorBAG

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.