Forum

> > CS2D > Scripts > How to make auto menu
Forums overviewCS2D overview Scripts overviewLog in to reply

English How to make auto menu

9 replies
To the start Previous 1 Next To the start

old How to make auto menu

MaxmyA_TN
BANNED Off Offline

Quote
Hello ! everybody , i want auto menu i mean auto serveraction and it open if u pass an hour please help me for use it in my server
thanks

old Re: How to make auto menu

Rainoth
Moderator Off Offline

Quote
No. I don't think so. I'm guessing that what he needs is a menu that opens after an hour of gameplay.

Something like "You played for an hour, congratulations, thanks for playing in my server, he's laser, super armor, rcon and my IP"

Being the annoying little brat you were to all of us, I'm not going to help you out even though the script you're asking for is really easy to make.

old Re: How to make auto menu

Dousea
User Off Offline

Quote
I'm going to be nice here.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
playingminute = {}
menushown = {}

for id = 1, 32 do
	playingminute[id] = 0
	menushown[id] = false
end

addhook("minute", "minutehook")

function minutehook()
	for _, id in ipairs(player(0, "tableliving")) do
		if (not menushown[id]) then
			playingminute[id] = playingminute[id] + 1
			
			if (playingminute[id] == 60) then
				playingminute[id] = nil
				menushown[id] = true
				
				menu(id, "Menu,Button 1,Button 2") -- Your menu here
			end
		end
	end
end

old Re: How to make auto menu

Talented Doge
User Off Offline

Quote
He thinks like this:
Quote
I don't care what the fuck you say about my files, the most important thing of getting better is: try and upload shits. I don't care about negative feedbacks, who the fuck they are? I will keep uploading shits, because I'm paint professional! You all are worse than me madafukas. user Rainoth is not a moderator and freebanned me because I kept uploading shits and created double accounts.


Ok on-topic > check files like HC admin script or blazzing's zombie plague, they have automatic menu part.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview