Forum

> > CS2D > Scripts > How to make auto menu
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch How to make auto menu

9 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt How to make auto menu

MaxmyA_TN
BANNED Off Offline

Zitieren
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

alt Re: How to make auto menu

Rainoth
Moderator Off Offline

Zitieren
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.

alt Re: How to make auto menu

Dousea
User Off Offline

Zitieren
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

alt Re: How to make auto menu

Talented Doge
User Off Offline

Zitieren
He thinks like this:
Zitat
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht