Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 15 of 15
Search took 0.01 seconds.
Search: Posts Made By: LaineN
Forum: Code Snippets/Tutorials 08-19-2009, 07:21
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

menu_setprop(menu, MPROP_EXIT, MEXIT_NEVER);
Forum: Code Snippets/Tutorials 08-18-2009, 17:42
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

Thanks! :)
But will the '*' show as 0 in-game?
Forum: Code Snippets/Tutorials 08-18-2009, 17:26
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

Oh. :| I have to convert the 'AMX Mod X Menu' to use the new menu system then. :)

But what about my other question?
Forum: Code Snippets/Tutorials 08-18-2009, 17:07
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

Okey, thanks. But what about the other problem? With the 'AMX Mod X Menu'? Do you know how to solve it?

EDIT: Can I add the exit button by using MENU_EXIT? Or I have to use like the old menu...
Forum: Code Snippets/Tutorials 08-18-2009, 17:04
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

Yeah, I've tried it too. :| But is there any other way to make it?
Forum: Code Snippets/Tutorials 08-18-2009, 15:56
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

Lol! :| That worked for 'Buy Menu' and 'Select a team' menu, but not for 'AMX Mod X Menu'. Is there any differences between them?

EDIT: I have one more problem with this menus :/

If I have a...
Forum: Code Snippets/Tutorials 08-18-2009, 03:36
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

It doesn't detect old menus for me.

I use this plugin to see what g_current_menu[id] is:

#include <amxmodx>
#include <engine>

enum
{
MENU_NONE,
Forum: Code Snippets/Tutorials 08-17-2009, 15:01
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

But how to detect if the menu was replaced by another menu instead of being closed?
Forum: Code Snippets/Tutorials 08-17-2009, 14:14
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

Can you please show me how to make it bitwise? Use my example above.
Forum: Code Snippets/Tutorials 08-17-2009, 12:19
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

I know how to use it if I only have one menu, read my post again.
Forum: Code Snippets/Tutorials 08-17-2009, 10:10
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

Doesn't work, already tried.
I think there should be a way using player_menu_info() but I don't really know how to do.

Also if you use a boolean, it will still be true if you just open a new menu...
Forum: Code Snippets/Tutorials 08-17-2009, 09:18
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

If I have many manus in the same plugin, how can I check if a player is viewing a specific menu?

Example:
#include <amxmodx>

public plugin_init()
{
register_clcmd("say /menu",...
Forum: Code Snippets/Tutorials 05-21-2009, 11:46
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

Off-topic:
Exolent, how are you doing your code tags? :P
Forum: Code Snippets/Tutorials 05-17-2009, 14:57
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

Is it possible to check if a player has a specific menu open?
Forum: Code Snippets/Tutorials 05-16-2009, 16:36
Replies: 446
Views: 418,887
Posted By LaineN
Re: New AMXX Menu System

Is it possible to check like an if statement if the menu will be enabled (white) or disabled (grey)?

Like:
menu_additem(menu, "Alive", "1", is_user_alive);

That I want to do with that menu is...
Showing results 1 to 15 of 15

 
Forum Jump

All times are GMT -4. The time now is 05:17.


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