Forum

> > CS2D > Scripts > Need big menu scripts!
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Need big menu scripts!

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Need big menu scripts!

-DIE Wolf-
User Off Offline

Zitieren
Hey! I need you help me make a big menu scripts!
Example, got this code:
addhook("say","wolf")
function wolf(id,txt)
	if player(id,"team")==1 then
		if (txt=="!wolf") then
			menu(id,"Choose your wolf,wolf")   

addhook("menu","goodd")
function goodd(id,t,b)
if t=="Choose your wolf" then
		if b==1 then
			freeimage(id)
			id=image("gfx/truck.bmp",1,1,200+id)
		end
	end
end


So... if u test it, that will be small menu (On the left of the screen).
So i want u to help me make a big menu like "classes menu in Zombie plauge mod"!
Help me if u can (upgrade on my LUA scripts!)

alt Re: Need big menu scripts!

Cure Pikachu
User Off Offline

Zitieren
Read cs2d lua cmd menu - It will tell you how to make big menus.
I will just tell you anyway - Add @b to the end of the title name and the menu will be big, like this:
1
menu(id,"Choose your wolf@b,wolf")
Also, your example script has 3 missing ends for the first function.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht