Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $51
Target: $400
12%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Showing results 1 to 21 of 21
Search took
0.01
seconds.
Search:
Posts Made By:
Exolent[jNr]
Forum:
Code Snippets/Tutorials
03-30-2011, 17:44
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
Add an exit option item like you would other menu items, then check for it in the handler like you do the other items.
Forum:
Code Snippets/Tutorials
12-31-2010, 15:25
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
You're right, but SteamIDs are not always unique among players in a server such as LAN.
Forum:
Code Snippets/Tutorials
12-30-2010, 22:58
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
I prefer userid just because you don't have to deal with strings except for the menu info.
Forum:
Code Snippets/Tutorials
12-30-2010, 03:29
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
1. players = array of player ids that are in the server
- pnum = total number of players in the array
- tempid = the player id selected from the array
- szName = string containing the selected...
Forum:
Code Snippets/Tutorials
09-16-2010, 00:34
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
A menu that is created in plugin_init() and never destroyed and is stored in a global variable.
This is done for menus that are not dynamic or will never change.
Forum:
Code Snippets/Tutorials
09-14-2010, 12:37
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
show_menu() is with the Old Menu System (http://forums.alliedmods.net/showthread.php?t=14637).
Forum:
Code Snippets/Tutorials
05-27-2010, 18:08
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
Those are basic scripting questions and are unrelated to the menu.
1. Look at the other plugins for how they print the result of each vote.
2. You can't use server_cmd() because the command is...
Forum:
Code Snippets/Tutorials
05-24-2010, 17:06
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
Not with the new menus.
Forum:
Code Snippets/Tutorials
05-04-2010, 15:51
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
Your "Advanced Vote Menu" has an error.
These lines:public EndVote()
{
//...
//If noone voted
if( !votes_select )
{
client_print(0, print_chat, "CRICKEY! No one voted!");
}
Forum:
Code Snippets/Tutorials
02-12-2010, 18:06
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
Just use old-style menus and you can customize it however you want.
Forum:
Code Snippets/Tutorials
01-19-2010, 19:48
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
#include < amxmodx >
new g_iRound;
new g_iMenuRound[ 33 ];
public plugin_init( ) {
register_event( "HLTV", "EventNewRound", "a", "1=0", "2=0" );
}
public client_disconnect( iPlayer ) {
Forum:
Code Snippets/Tutorials
08-18-2009, 17:52
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
The * is the info sent to the handler, not the number shown next to the item.
The item number will be 9. You can try adding another blank, but i think it will be 10 and not 0.
Forum:
Code Snippets/Tutorials
08-18-2009, 17:38
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
new menu = menu_create("Main Menu", "MainMenuHandle");
menu_additem(menu, "1", "1");
menu_additem(menu, "2", "2");
menu_additem(menu, "3", "3");
menu_additem(menu, "4", "4");
menu_additem(menu,...
Forum:
Code Snippets/Tutorials
08-18-2009, 17:17
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
static cell AMX_NATIVE_CALL show_menu(AMX *amx, cell *params) /* 3 param */
{
int ilen = 0, ilen2 = 0;
char *sMenu = get_amxstring(amx, params[3], 0, ilen);
char *lMenu = get_amxstring(amx,...
Forum:
Code Snippets/Tutorials
08-18-2009, 17:06
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
Just use 0 and add the exit button yourself.
Forum:
Code Snippets/Tutorials
08-18-2009, 16:58
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
Doesn't work.
I've tried it and it gave me an error in the logs saying that you can't have more than 7 per page.
Forum:
Code Snippets/Tutorials
08-18-2009, 03:45
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
Try:new bool:g_bShowingMenu[ 33 ];
public plugin_init( )
{
register_message( get_user_msgid( "ShowMenu" ), "MessageShowMenu" );
}
public MessageShowMenu( iMsgId, iDest, client )
{
...
Forum:
Code Snippets/Tutorials
08-17-2009, 14:35
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
You don't need bitwise.
#include <amxmodx>
enum
{
MENU_NONE = 0,
MENU_MAIN,
MENU_SUB1,
Forum:
Code Snippets/Tutorials
05-16-2009, 16:49
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
Use a callback.
ShowMenu(client)
{
new menu = menu_create("Alive Menu", "MenuHandle");
new callback = menu_makecallback("MenuCallback");
menu_additem(menu, "Item 1",...
Forum:
Code Snippets/Tutorials
04-25-2009, 19:20
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
If player didn't press an item on the menu, then do:
client_cmd(client, "slot1");
Forum:
Code Snippets/Tutorials
11-19-2008, 11:22
Replies:
446
Sticky:
New AMXX Menu System
Views:
419,294
Posted By
Exolent[jNr]
Re: New AMXX Menu System
You have to use Old Style.
Showing results 1 to 21 of 21
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
07:50
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode