Skip to content

Instantly share code, notes, and snippets.

acmd_alias_create("payall", "0", 0, "bank.worldtransfer", function(who, args) {
if (args.Count < 1) {
tshock_msg(who, "Usage: /payall <amount>");
return;
}
var amount = args[0];
jist_for_each_player(function(whom) {
seconomy_pay_async(seconomy_world_account(), seconomy_get_account(whom), seconomy_parse_money(amount), "CMD: payall", function(eventArgs) {
if (eventArgs.TransferSucceeded == true) {