Runes of Magic Wiki
Advertisement
GuildCommand_CheckMoney()

Source Code[ | ]

function GuildCommand_CheckMoney()


    if (GF_CanCreateGuildCost()) then
	
	--	GuildCommandCreateButton:Disable();
		StaticPopup_Show("GUILD_CREATE");
		
		
	
	else
		StaticPopup_Show("BUYOUT_ALERT");
	 	GC_CloseGuildCommand();
	end

end

Example[ | ]

/script GuildCommand_CheckMoney()

If you have enough money the guild will be created.

Advertisement