Forum

> > CS2D > Scripts > Need big menu scripts!
Forums overviewCS2D overview Scripts overviewLog in to reply

English Need big menu scripts!

2 replies
To the start Previous 1 Next To the start

old Need big menu scripts!

-DIE Wolf-
User Off Offline

Quote
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!)

old Re: Need big menu scripts!

Cure Pikachu
User Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview