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

Glow Menu by NapoleoN#


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-21-2011 , 13:44   Glow Menu by NapoleoN#
Reply With Quote #1

Glow Menu
v1.0
by NapoleoN#

Description:
Shows up a menu where you can choose a glow color that makes your playerskin glowing.

Console Commands:
  • amx_toggle_glowmenu
  • glow_toggle 0/1 <0 = ON/ 1 = OFF> <Default = 0>
Server Cvars:
  • glow_toggle 0/1 <0 = ON/ 1 = OFF> <Default = 0>
Client Commands:
  • /glow
  • show_glowmenu (In console)

Plugin requirements:
PHP Code:
#include <amxmodx>
#include <fun> 


Changelog:

  • Version 1.0: Release of Plugin
  • Version 1.1: Menu Layout Fixed
  • Version 1.2: New Menu code
  • Version 1.3: Added new colors

Screenshots:

http://steamcommunity.com/id/_NapoleoN/screenshots/

Check out for: Wednesday August 17 2011
Attached Files
File Type: sma Get Plugin or Get Source (Glowmenu.sma - 947 views - 5.2 KB)

Last edited by xPaw; 08-21-2011 at 17:05.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Korxu
Senior Member
Join Date: Sep 2010
Old 08-21-2011 , 13:45   Re: Glow Menu by NapoleoN#
Reply With Quote #2

Remove .amxx file and don't do two thread of the same. Delete this thread.
Korxu is offline
Se7ven
Senior Member
Join Date: Feb 2011
Location: Romania
Old 08-21-2011 , 13:46   Re: Glow Menu by NapoleoN#
Reply With Quote #3

Nice ideea Really nice
__________________
WwW.HighCS.Ro From Romania For You
Se7ven is offline
Send a message via AIM to Se7ven Send a message via Yahoo to Se7ven
Korxu
Senior Member
Join Date: Sep 2010
Old 08-21-2011 , 13:51   Re: Glow Menu by NapoleoN#
Reply With Quote #4

You define
PHP Code:
#define PLUGIN "GlowMenu"
#define VERSION "1.0"
#define AUTHOR "NapoleoN#" 
and don't use it never?

You have
PHP Code:
#define VERSION "1.0" 
And your changelog go until version 1.3?

And
PHP Code:
client_print(0,print_chat,"[GlowMenu] The glow menu has been enabled by %s."
who enable GlowMenu?, you forgot the string.

And there are unnecesary code.... Are you the real author of this?

Last edited by Korxu; 08-21-2011 at 13:54.
Korxu is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-21-2011 , 13:55   Re: Glow Menu by NapoleoN#
Reply With Quote #5

Quote:
Originally Posted by Korxu View Post
You define
PHP Code:
#define PLUGIN "GlowMenu"
#define VERSION "1.0"
#define AUTHOR "NapoleoN#" 
and don't use it never?

You have
PHP Code:
#define VERSION "1.0" 
And your changelog go until version 1.3?

And
PHP Code:
client_print(0,print_chat,"[GlowMenu] The glow menu has been enabled by %s."
who enable GlowMenu?, you forgot the string.

And there are unnecesary code.... Are you the real author of this?
Sorry, this is the wrong code. I'll edit my current version.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 08-21-2011 , 13:55   Re: Glow Menu by NapoleoN#
Reply With Quote #6

Instead of making a case for each color, you can do this:

PHP Code:
new const g_iColors[][] = 
{
    {
25500},
    {
2551400},
    {
2552550},
    {
02550},
    {
25520147},
    {
00255},
    {
2550255},
    {
192192192}
}

new const 
g_szColorNames[][] =
{
    
"Red",
    
"Orange",
    
"Yellow",
    
"Green",
    
"Pink",
    
"Blue",
    
"Purple",
    
"White"
}


public 
GlowMenuChoice(idkey

    new 
Client[21
    
get_user_name(id,Client,20)    

    switch(
key
    { 
        
        case 
0..7
        {
            
set_hudmessage(255,0,00.020.7306.08.00.10.24
            
show_hudmessage(0"[GlowMenu] %s is now glowing %s!"Clientg_szColorNames[key]) 
            
set_user_rendering(id,kRenderFxGlowShell,g_iColors[key][0],g_iColors[key][1],g_iColors[key][2],kRenderNormal,25)
        }
        case 
8
        {
            
set_hudmessage(0,255,00.020.7306.08.00.10.24
            
show_hudmessage(0"[GlowMenu] %s is no longer glowing!",Client
            
set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderNormal,25)
        } 
        
        case 
9
        {
            return 
PLUGIN_CONTINUE
        

    }

    return 
PLUGIN_HANDLED 

Also the max lenght for a nickname is 32. You should make your Client[20] have 32 cells.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
r14170
Veteran Member
Join Date: Dec 2009
Old 08-21-2011 , 15:08   Re: Glow Menu by NapoleoN#
Reply With Quote #7

add screenshots ^_^
r14170 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-21-2011 , 15:48   Re: Glow Menu by NapoleoN#
Reply With Quote #8

Quote:
Originally Posted by r14170 View Post
add screenshots ^_^
Added a link to my steam profile for Screenshots.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Gam3ronE
SourceMod Donor
Join Date: Aug 2010
Old 08-21-2011 , 19:33   Re: Glow Menu by NapoleoN#
Reply With Quote #9

Simple but effective, good job and thank you for sharing.
Gam3ronE is offline
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 08-23-2011 , 05:24   Re: Glow Menu by NapoleoN#
Reply With Quote #10

lol your first plugin...but this is not your plugin the code is stolen
from this plugin Glow Menu ~ Client Activated Glow Plugin

and i can't see anywhere you giving credits to the author

Quote:
Originally Posted by drekes View Post
Also the max lenght for a nickname is 32. You should make your Client[20] have 32 cells.
he just copy past it form the original plugin!

__________________

Last edited by vato loco [GE-S]; 08-23-2011 at 11:35.
vato loco [GE-S] is offline
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 18:27.


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