Forum

> > CS2D > Scripts > Submenu
Forums overviewCS2D overview Scripts overviewLog in to reply

English Submenu

8 replies
To the start Previous 1 Next To the start

old Submenu

Gaios
Reviewer Off Offline

Quote
How it is done?
Menu News

IMG:https://img811.imageshack.us/img811/6048/b6dnbcwk9jgdw4pkufywdzt.jpg

old Re: Submenu

Gaios
Reviewer Off Offline

Quote
user Marcell has written
I think that only a hud image.. then hudtxt

This is not a image.

old Re: Submenu

Marcell
Super User Off Offline

Quote
Why not ?:)
Its can be hudimg..


1
2
3
4
5
6
7
8
9
10
11
12
function controlpanel(id)
		if news_able[id] == true then
			info_form[id]["form"] = image("gfx/mapart/info_form.png",440,124,2,id)
			info_form[id]["close"] = image("gfx/mapart/close.png",553,30,2,id)
			imageblend(info_form[id]["close"],1)
			parse('hudtxt2 '..id..' '..(1)..' "News" '..(420)..' '..(23))
			for n = 0,10 do
				if news[n+1] ~= nil then
					parse('hudtxt2 '..id..' '..(n+2)..' "'..news[n+1]..'" '..(320)..' '..(53)+(13*n))
				end
			end
		end


Before you say some silly thing think a bit
look the code...

old Re: Submenu

EngiN33R
Moderator Off Offline

Quote
user Gaios has written
user Marcell has written
I think that only a hud image.. then hudtxt

This is not a image.


This IS an image. It can't be anything else. CS2D doesn't support windows like that by default. You could use VisualLua for that, as user Cure Pikachu said.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview