Forum

> > CS2D > Scripts > What is wrong with my classes script
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch What is wrong with my classes script

13 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: What is wrong with my classes script

Alistaire
User Off Offline

Zitieren
The full script is now there. initArray is there too.
It's just a custom Classes Script.

DebugLua says something about the Addhook command, but it has nothing to do with the script.

EDIT:

The console says:

LUA ERROR: sys/lua/classes.lua:57: attempt to call local 'menu' (a string value)

alt Re: What is wrong with my classes script

Bowlinghead
User Off Offline

Zitieren
user J4x hat geschrieben
Info.txt hat geschrieben
Attach @b at the
end of title for a bigger menu.


Its not for longer menus!
It make the menu-gfx bigger! (LOL xD)
Test it!
(I am German, thats the reason, why my english isn't perfect)

alt Re: What is wrong with my classes script

Bowlinghead
User Off Offline

Zitieren
Make the 9. button:
1
2
3
4
-- Team Major
     if (sample.classes.class[id]==9) then
   	sample.classes.classmenu2(id)
	end

And at the beginning the sample.classes.classmenu2!
Example:
1
2
3
function sample.classes.classmenu(id)
     menu(id,"Choose your training2,CLASS|Text,CLASS|Text")
end

alt Re: What is wrong with my classes script

Starkkz
Moderator Off Offline

Zitieren
Try this man:

Spoiler >

alt Re: What is wrong with my classes script

Alistaire
User Off Offline

Zitieren
user Starkkz hat geschrieben
Try this man:


Thank you very much! The next button works! (Only thing not working is back button.. which should not be a big problem.)

I guess I'll need to ask that next time, but for now

EDIT: I even found out why the next menu didn't work! It seems I've used "Choose your Training 2" at the first menu, and "Choose your Training2" at the second

> Thread closed
1× editiert, zuletzt 16.05.11 16:53:58
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht