Forum

> > CS2D > Scripts > What is wrong with this script?!
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch What is wrong with this script?!

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt What is wrong with this script?!

Mami Tomoe
User Off Offline

Zitieren
(2 topics a day! high score!!!)
Really I wasted the last 30 minutes not understanding what in the world is wrong with it, it shows no errors, it has no errors (for a newbie's eye) and I'm about to just delete this script and never see it again...

Beware, this script below is full of evil!
Mehr >


My problem is that the "Back" and "Start" buttons on the last page does nothing! They just close the window...

alt Re: What is wrong with this script?!

Mami Tomoe
User Off Offline

Zitieren
@user eledah: I also tried this if that's what you mean:
Mehr >

alt Re: What is wrong with this script?!

GeoB99
Moderator Off Offline

Zitieren
1
2
3
4
5
6
7
if title=="License System Page 5@b" then
		if button==5 then
		ls_4(id)
		elseif button==6 then
			ls_1(id)
		end
end
Note: Not sure if it'll work because I didn't test the code, so it may has some problems. Try it.

alt Re: What is wrong with this script?!

eledah
User Off Offline

Zitieren
You need to put this part

1
2
3
4
5
6
7
if men == "License System Page 5@b" then
     if sel == 8 then
     menu(id,"License System Page 4@b,"..pl_names[22]..","..pl_names[23]..","..pl_names[24]..","..pl_names[25]..","..pl_names[26]..","..pl_names[27]..","..pl_names[28]..",Back,Next")
     elseif sel == 9 then
     menu(id,"License System Page 1@b,"..pl_names[1]..","..pl_names[2]..","..pl_names[3]..","..pl_names[4]..","..pl_names[5]..","..pl_names[6]..","..pl_names[7]..",Back,Next")
     end
end

inside a cs2d lua hook menu hook in order to make it work.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht