• Donation System [HELP]
    0 replies, posted
Hello, i need some help with my lua file. I want to combine 2 things to 1 donate package. Anyone know how to combine these 2 into "Purchase = ..." 1: function( ply ) // what happens when they buy it RunConsoleCommand("ulx", "adduserid", ply:SteamID(), "bvip" ) 2:function( ply ) ply:addMoney(2500000) ply:ChatPrint( "You have received $2,500,000!" ) I want this package to be automatic 2,5m and bvip. -------------------------------------------------------------------------------------------------------------------- MistPay:add({ Name = "VIP Bronze", // name in the menu Price = 500, // price in credits DisabledFor = { "admin", "superadmin" }, // what ulx ranks can't SEE / BUY the package Purchase = function( ply ) // what happens when they buy it RunConsoleCommand("ulx", "adduserid", ply:SteamID(), "bvip" ) end, //description to provide Description = [[ [ Bronze VIP ] Bronze VIP Printer 1,000,000$ in game cash! Pro Thief Special Arms Dealer National Guard Lieutenant Colonel +20 Props ]], }) --------------------------------------------------------------------------------------------------------------------
Sorry, you need to Log In to post a reply to this thread.