AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Help & Rules Menu. (https://forums.alliedmods.net/showthread.php?t=95862)

crazyeffect 06-28-2009 06:08

[HELP] Help & Rules Menu.
 
2 Attachment(s)
Hey.

I was making this menu, it compiles fine, but it doesnt work in-game.

Could you guys have a look please?

I tried help_rulesmenu.sma, but not help_rulesmenu_website.sma...

fysiks 06-28-2009 12:25

Re: [HELP] Help & Rules Menu.
 
Have you tried debugging it?

Also, I would use this instead:
http://www.amxmodx.org/funcwiki.php?...nfig&go=search

Also, I don't see any menus.

crazyeffect 06-28-2009 13:14

Re: [HELP] Help & Rules Menu.
 
It are windows*

fysiks 06-28-2009 14:50

Re: [HELP] Help & Rules Menu.
 
Quote:

Originally Posted by crazyeffect (Post 859390)
It are windows*

Why would you tell me that? Operating system does not matter. I asked you if you tried debugging it.

crazyeffect 06-28-2009 17:30

Re: [HELP] Help & Rules Menu.
 
Ohh, yeah

Sorry, forget that...

It says that ist a problem with Help(id)

Can't give you the exact line, because i'm at the rong PC

fysiks 06-28-2009 17:50

Re: [HELP] Help & Rules Menu.
 
Ok, so what does it say? Surely it doesn't only say "there is a problem in the Help(id) function."

crazyeffect 06-29-2009 02:15

Re: [HELP] Help & Rules Menu.
 
Quote:

L 06/28/2009 - 12:32:53: Start of error session.
L 06/28/2009 - 12:32:53: Info (map "MAPNAME") (file "addons/amxmodx/logs/error_20090628.log")
L 06/28/2009 - 12:32:53: String formatted incorrectly - parameter 6 (total 6)
L 06/28/2009 - 12:32:53: [AMXX] Displaying debug trace (plugin "help_rules.amxx")
L 06/28/2009 - 12:32:53: [AMXX] Run time error 25: parameter error
L 06/28/2009 - 12:32:53: [AMXX] [0] help_rulemenu.sma::Help (line 58)
L 06/28/2009 - 12:42:34: String formatted incorrectly - parameter 6 (total 6)
L 06/28/2009 - 12:42:34: [AMXX] Displaying debug trace (plugin "help_rules.amxx")
L 06/28/2009 - 12:42:34: [AMXX] Run time error 25: parameter error
L 06/28/2009 - 12:42:34: [AMXX] [0] help_rulemenu.sma::Help (line 58)
L 06/28/2009 - 16:18:52: Start of error session.

fysiks 06-29-2009 17:53

Re: [HELP] Help & Rules Menu.
 
I don't know much about ML but maybe it doesn't like having two ML statements in the same format().

I would probably do something like:

Code:

[en]
HELP_PLAYER = Player Help
RULES_PLAYER = Player Rules
HELP_ADMIN = Admin Help

If that is the issue.


All times are GMT -4. The time now is 15:30.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.