Raised This Month: $ Target: $400
 0% 

amx_glowmenu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Burnzy
Veteran Member
Join Date: Apr 2004
Old 05-09-2004 , 15:19   amx_glowmenu
Reply With Quote #1

Can sumone help me on making an amx_glowmenu???

Ive been trying to contact EKS but its not working so im just gonna go on starting it and waiting for him to see this...

EKS I have tried to contact u so dont get made
This is my first plugin
All i need is for sum way to make it so when an admin types amx_glowmenu a menu pops up with player names
Then when u pick a player it goes to a menu with colors and u hit the color u want them to be.

Can sumone tweek this more for me, sum of this has to be deleted(i knew that) and the menu stuff needs to be added.

I will graditude u if u help.
Attached Files
File Type: sma Get Plugin or Get Source (amx_glowmenu.sma - 1349 views - 5.2 KB)
__________________
Burnzy is offline
Send a message via AIM to Burnzy
SniperBeamer
AMX Mod X Founder
Join Date: Jun 2003
Location: Good Old Europe
Old 05-09-2004 , 15:46  
Reply With Quote #2

EKS made the plugin so leave his name there!
__________________
SniperBeamer is offline
Burnzy
Veteran Member
Join Date: Apr 2004
Old 05-09-2004 , 16:20  
Reply With Quote #3

its in the script
__________________
Burnzy is offline
Send a message via AIM to Burnzy
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 05-09-2004 , 16:43  
Reply With Quote #4

Quote:
Originally Posted by Burnzy
its in the script
All you have dont with this script is:
Remove the public glow code
Remove all the credits i have added ( not to myself but others)
Remove my nick from plugin_init
Add yourself to plugin_init

The only time you refere to me is this:
Quote:
This is tweeked from EKS's Admin_Glow Plugin
And there is no way you ever made any effort trying to contact me, im easy to find.
EKS is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 05-09-2004 , 20:04  
Reply With Quote #5

/* AMX_GLOWMENU
This is my first plugin I have ever made
Please Email [email protected] if you have any bugs
This is tweeked from EKS's Admin_Glow Plugin
*/

Made and modified is different


public plugin_init()
{
register_plugin("amx_glowmenu","1.0Beta","Bur nzy")
Wtf?
__________________
QwertyAccess is offline
Burnzy
Veteran Member
Join Date: Apr 2004
Old 05-09-2004 , 20:08  
Reply With Quote #6

hold on, hold on.

Im trying to get the Menu Generator to work...
Does anyone no how to fix these errors i get??? or were i put the .dll files for it

[EDIT] I think u put it in C://Windows/System

but.... I still cant get Menu Gen. to work
__________________
Burnzy is offline
Send a message via AIM to Burnzy
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 05-09-2004 , 22:43  
Reply With Quote #7

lol, last post made no sense bro. ok which dll file are u reffering to, . So just post which file and you shall be helped
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
Burnzy
Veteran Member
Join Date: Apr 2004
Old 05-09-2004 , 23:00  
Reply With Quote #8

the file is TABCTL32.OCX
__________________
Burnzy is offline
Send a message via AIM to Burnzy
Burnzy
Veteran Member
Join Date: Apr 2004
Old 05-10-2004 , 11:23  
Reply With Quote #9

ok i got my menu thing working...
How do u convert 2 menus together??? i cant get it to work
Ill show u both menus
This menu is the one that comes up first
Code:
/* Copyright (C) Burnzy*/ #include <amxmodx> #include <amxmisc> #include <fun> /*****************Declare Choose Player To Glow*****************/ public plugin_init() {     register_plugin("amx_glowmenu","v1.0","Burnzy")     register_menucmd(register_menuid("Choose Player To Glow"),1023,"GlowMenuChoice")     register_concmd("amx_glowmenu", "amx_glowmenu", ADMIN_LEVEL_C, "amx_glowmenu")     register_clcmd("amx_glowmenu", "amx_glowmenu")     register_clcmd("say glowmenu", "amx_glowmenu") } /*****************Function that calls Choose Player To Glow*****************/ public amx_glowmenu(id) {     if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {         client_print(id, print_chat, "You Do Not Have Access To The Command.")         return PLUGIN_HANDLED     }     GlowMenuMenu(id)     return PLUGIN_HANDLED } /*****************Menu Code for Choose Player To Glow*****************/ public GlowMenuMenu(id) {     if (is_user_alive(id)) {         new menuBody[1024]         new key                 format(menuBody, 1023, "\wChoose Player To Glow\W^n^n\y1.\w %s^n\y2.\w %s^n\y3.\w %s^n\y4.\w %s^n\y5.\w %s^n\y6.\w %s^n\y7.\w %s^n\y8.\w %s^n\y9.\w %s^n\y0.\w Exit.",g_Players,g_Players,g_Players,g_Players,g_Players,g_Players,g_Players,g_Players,g_Players)         key = (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<7)|(1<<8)|(1<<9)             show_menu(id, key, menuBody)     } } /*****************Choose Player To Glow Choice Switch*****************/ public GlowMenuChoice(id, key) {     switch(key)     {         case 0:         {         if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {             client_print(id, print_chat, "You Do Not Have Access To The Command.")             return PLUGIN_HANDLED         }                             GlowMenu2Choice(id, key)         }         case 1:         {         if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {             client_print(id, print_chat, "You Do Not Have Access To The Command.")             return PLUGIN_HANDLED         }                             GlowMenu2Choice(id, key)         }         case 2:         {         if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {             client_print(id, print_chat, "You Do Not Have Access To The Command.")             return PLUGIN_HANDLED         }                             GlowMenu2Choice(id, key)         }         case 3:         {         if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {             client_print(id, print_chat, "You Do Not Have Access To The Command.")             return PLUGIN_HANDLED         }                             GlowMenu2Choice(id, key)         }         case 4:         {         if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {             client_print(id, print_chat, "You Do Not Have Access To The Command.")             return PLUGIN_HANDLED         }                             GlowMenu2Choice(id, key)         }         case 5:         {         if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {             client_print(id, print_chat, "You Do Not Have Access To The Command.")             return PLUGIN_HANDLED         }                             GlowMenu2Choice(id, key)         }         case 6:         {         if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {             client_print(id, print_chat, "You Do Not Have Access To The Command.")             return PLUGIN_HANDLED         }                             GlowMenu2Choice(id, key)         }         case 7:         {         if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {             client_print(id, print_chat, "You Do Not Have Access To The Command.")             return PLUGIN_HANDLED         }                             GlowMenu2Choice(id, key)         }         case 8:         {         if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {             client_print(id, print_chat, "You Do Not Have Access To The Command.")             return PLUGIN_HANDLED         }                             GlowMenu2Choice(id, key)         }         case 9:         { return PLUGIN_HANDLED         }     } }
This is the menu that comes up after u click one:
Code:
/* Copyright (C) Burnzy*/ #include <amxmodx> #include <amxmisc> #include <fun> /*****************Declare Glow Color*****************/ public plugin_init() {     register_plugin(""amx_glowmenu2""v1.0"Burnzy")     register_menucmd(register_menuid("Pick the Glow Color"),1023,"GlowMenu2Choice") } /*****************Function that calls Glow Color*****************/ public (id) {     if (!(get_user_flags(id)&ADMIN_LEVEL_C)) {         client_print(id, print_chat, "You Do Not Have Access To The Command.")         return PLUGIN_HANDLED     }     GlowMenu2Menu(id)     return PLUGIN_HANDLED } /*****************Menu Code for Glow Color*****************/ public GlowMenu2Menu(id) {     if (is_user_alive(id)) {         new menuBody[1024]         new key                 format(menuBody, 1023, "\wGlow Color\W^n^n\y1.\w Red^n\y2.\w Blue^n\y3.\w Purple^n\y4.\w Green^n\y5.\w Agua^n\y6.\w Silver^n\y7.\w Yellow^n\y8.\w Exit.")         key = (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<7)             show_menu(id, key, menuBody)     } } /*****************Glow Color Choice Switch*****************/ public GlowMenu2Choice(id, key) {     switch(key)     {         case 0:         { client_print(id, print_chat, "ADMIN %s: made %s glow %s",AdminName,VictimName,g_ColorNames[g_Players[VictimID]])         }         case 1:         { client_print(id, print_chat, "ADMIN %s: made %s glow %s",AdminName,VictimName,g_ColorNames[g_Players[VictimID]])         }         case 2:         { client_print(id, print_chat, "ADMIN %s: made %s glow %s",AdminName,VictimName,g_ColorNames[g_Players[VictimID]])         }         case 3:         { client_print(id, print_chat, "ADMIN %s: made %s glow %s",AdminName,VictimName,g_ColorNames[g_Players[VictimID]])         }         case 4:         { client_print(id, print_chat, "ADMIN %s: made %s glow %s",AdminName,VictimName,g_ColorNames[g_Players[VictimID]])         }         case 5:         { client_print(id, print_chat, "ADMIN %s: made %s glow %s",AdminName,VictimName,g_ColorNames[g_Players[VictimID]])         }         case 6:         { client_print(id, print_chat, "ADMIN %s: made %s glow %s",AdminName,VictimName,g_ColorNames[g_Players[VictimID]])         }         case 7:         { return PLUGIN_HANDLED         }     } }

I want it so the first menu appears with everyones name in the server.
Once u click a name it goes to the second menu and u pick the color
Then it makes a message and say: Admin BURNZY has made BOB glow YELLOW.

HELP!!!! PLEASE

Note: I didnt add the glow stuff yet until i get the menus working... so dont pay attention to that.
__________________
Burnzy is offline
Send a message via AIM to Burnzy
Burnzy
Veteran Member
Join Date: Apr 2004
Old 05-10-2004 , 12:38  
Reply With Quote #10

also i need a way for the first script to make it list all the players in the servers names. hmmmmm
Its in the first script. I no i did it wrong.
__________________
Burnzy is offline
Send a message via AIM to Burnzy
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:20.


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