AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   amx_glowmenu (https://forums.alliedmods.net/showthread.php?t=1818)

Burnzy 05-09-2004 15:19

amx_glowmenu
 
1 Attachment(s)
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.

SniperBeamer 05-09-2004 15:46

EKS made the plugin so leave his name there!

Burnzy 05-09-2004 16:20

its in the script

EKS 05-09-2004 16:43

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.

QwertyAccess 05-09-2004 20:04

/* 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
http://www.nsarmslab.com/qwerty/smileys/eyebag.gif

public plugin_init()
{
register_plugin("amx_glowmenu","1.0Beta","Bur nzy")
Wtf?
http://www.nsarmslab.com/qwerty/smileys/ack.gif

Burnzy 05-09-2004 20:08

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

kingpin 05-09-2004 22:43

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 :)

Burnzy 05-09-2004 23:00

the file is TABCTL32.OCX

Burnzy 05-10-2004 11:23

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 05-10-2004 12:38

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.

FroXeN 05-16-2004 19:42

ill attempt to help ya.

aX.cs|XpresS 04-27-2005 06:41

have someone finisched this plugin ??

i wat it too..

a menu where i can select a player and when i have selected that i can select the color.


HELP PLZ.

THX

BioHazardousWaste 04-27-2005 07:50

hmm... people really don't take it to kindly when their source code is stolen. How about this?
/*
EKS's Admin Glow Plugin
Edited by Burnzy
Email: [email protected] in case of bugs
*/

And make sure you register the plugin as EKS's... he wrote it after all, you'll probably get a lot more help if you do that, instead of stealing code.

NiGHTFiRE 04-27-2005 10:43

Quote:

Originally Posted by BioHazardousWaste
hmm... people really don't take it to kindly when their source code is stolen. How about this?
/*
EKS's Admin Glow Plugin
Edited by Burnzy
Email: [email protected] in case of bugs
*/

And make sure you register the plugin as EKS's... he wrote it after all, you'll probably get a lot more help if you do that, instead of stealing code.

Dude, look when this topic was made.... It was made in 2004, May. I don't think people check this any more, do you?

xeroblood 04-27-2005 11:16

There is a Glow Menu just like what you're looking for in my AIO Admin Menu

If you don't want to use all of AIO, then look at the code to see how I did it..

EKS 04-27-2005 12:30

Quote:

Originally Posted by NiGHTFiRE
Quote:

Originally Posted by BioHazardousWaste
hmm... people really don't take it to kindly when their source code is stolen. How about this?
/*
EKS's Admin Glow Plugin
Edited by Burnzy
Email: [email protected] in case of bugs
*/

And make sure you register the plugin as EKS's... he wrote it after all, you'll probably get a lot more help if you do that, instead of stealing code.

Dude, look when this topic was made.... It was made in 2004, May. I don't think people check this any more, do you?

No, he should get a medal. He used search :)

BioHazardousWaste 04-27-2005 15:30

omg lmao! Sorry guys, I was trying to figure out how to do a multi menu at around 1:30 AM. I musta posted, thinking it was an ongoing topic instead of closing the window after reading it... sorry lol.

aX.cs|XpresS 04-28-2005 02:14

sorry guys. i am gertman and i am not a god coder

can someone make me a glowmenu
and tell me whitch files i need that it works

i have a listenserver and a dedicated....

HELP PLZ
PLZZZ

aX.cs|XpresS 04-30-2005 08:01

plz need help

bitte helft mir
danke

BioHazardousWaste 04-30-2005 12:20

Tut mir leid, denn ich spreuche sehr kleine Deutsche!
Du sollst fur eine glow menu gesuchen! Hoffentlich, sollst deis du hilfen.
http://forums.alliedmods.net/showthread.php?t=9495

********************************
Sorry, I only speak a very little German.
You should serch for a glow menu. Hopefully this should help you.
http://forums.alliedmods.net/showthread.php?t=9495

aX.cs|XpresS 05-09-2005 03:53

i need this plugin

can somebody make it for me ??

i have amx x 1.01

PLZ HELP I CANT CODE SO GOOD


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

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