This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

JailBreak Glow Menu .


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
H0rSe
Junior Member
Join Date: Oct 2011
Old 12-05-2011 , 07:45   JailBreak Glow Menu .
Reply With Quote #1

JailBreak Glow Menu

By H0rSe(s)

Sorry Of My English

Hellow,
i will back to cs program..
so i am build a simple glow menu,
has 9 color's glow that you can chooses..

so let's start...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Commands:
/glow || /freeday || /glowmenu || /gm - Opening the select player to glow. [Only for guards..!]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
After you are choose a player to glow, to this player open a menu, with 9 options to select.
RED - BLUE - WHITE - GREEN - YELLOW - PURPLE - SPECIAL PURPLE - CYAN - SPECIAL BLUE.

and that's all...
simple and good ;)

Enjoy.
ColorChat.inc Download: http://www.mediafire.com/?3qe11ybdhpxb69c
**FIXED..!
Attached Files
File Type: sma Get Plugin or Get Source (Jailbreak-glow.sma - 636 views - 5.2 KB)
__________________
H0rSe.
- - - - - - - - - - - - - - -
· Cs mods builder.
- JailBreak Mod - Ultimate Evolution 1.5 [100%]
- Deathrun Shop - Ultimate Death 1.0 [0%]
- - - - - - - - - - - - - - -

Last edited by H0rSe; 12-05-2011 at 09:26.
H0rSe is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-05-2011 , 07:57   Re: JailBreak Glow Menu .
Reply With Quote #2

Attach colorchat.inc or give a link to download it.
__________________
You can do anything you set your mind to, man.

Devil259 is offline
Korxu
Senior Member
Join Date: Sep 2010
Old 12-05-2011 , 08:07   Re: JailBreak Glow Menu .
Reply With Quote #3

There are a lot of similar plugins... what have yours that don't have the others?
Korxu is offline
MyPc
Senior Member
Join Date: Sep 2011
Old 12-05-2011 , 08:19   Re: JailBreak Glow Menu .
Reply With Quote #4

PHP Code:
public Subselectmenu(idsubitem
is never called.

PHP Code:
public Menu(id)
{
    if (
is_user_alive(id))  
    {
        if (
cs_get_user_team(id) & CS_TEAM_CT)  
        {
            new 
menu menu_create("\rGlowing menu^n\yBy H0rSe(s)""Submenu");
    
            new 
players[32], pnumKey;
            new 
szName[32], szName2[10];
    
            
get_players(playerspnum"a");
            for(new 
ipnumi++)
            {
                
Key players[i]
        
                if (
cs_get_user_team(Key) != CS_TEAM_T)
                {
                    continue;
                }
        
                
get_user_name(KeyszName31);
                
num_to_str(KeyszName29);
                
menu_additem(menuszNameszName20);
            }
            
menu_display(idmenu);  // Add After This Line 'return PLUGIN_HANDLED'
        
}  
        
ColorChat(idRED"%s Only guards can use in glow menu."TAG);
        return 
PLUGIN_HANDLED;
    }  
    
ColorChat(idRED"%s Using in the glow menu is only for alive players."TAG);
    return 
PLUGIN_HANDLED;

You have to
PHP Code:
return PLUGIN_HANDLED 
after
PHP Code:
menu_display(idmenu); 
else it will show you this
PHP Code:
ColorChat(idRED"%s Only guards can use in glow menu."TAG); 
every time your public is called

you can use get_user_team instead of cs_get_user_team so you will have less includes

Last edited by MyPc; 12-05-2011 at 08:24.
MyPc is offline
H0rSe
Junior Member
Join Date: Oct 2011
Old 12-05-2011 , 09:19   Re: JailBreak Glow Menu .
Reply With Quote #5

OK.. Thx man i fix and load new .. but how i am fix the cs_get.... ?

*UPLOAD
__________________
H0rSe.
- - - - - - - - - - - - - - -
· Cs mods builder.
- JailBreak Mod - Ultimate Evolution 1.5 [100%]
- Deathrun Shop - Ultimate Death 1.0 [0%]
- - - - - - - - - - - - - - -

Last edited by H0rSe; 12-05-2011 at 09:30.
H0rSe is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-05-2011 , 10:19   Re: JailBreak Glow Menu .
Reply With Quote #6

Quote:
Originally Posted by MyPc View Post
you can use get_user_team instead of cs_get_user_team so you will have less includes
I think you are wrong. get_user_team can return false values in CS.
__________________
You can do anything you set your mind to, man.

Devil259 is offline
Larcyn
Senior Member
Join Date: Oct 2010
Old 12-05-2011 , 10:43   Re: JailBreak Glow Menu .
Reply With Quote #7

I don't see any special with your plugin, a lot of people has added glow menus, but most of them are unapproved.

Example:
http://forums.alliedmods.net/showthread.php?t=170660

Effective plugin & works perfectly. But getting unapproved because theres many of those plugins

Try to figure out something special for your plugin.
__________________

Taking private requests, PM me for information.
Selling HideNSeek & Jailbreak plugins.

Selling Achievement API System (PHP &
MySQL / nVault)

Last edited by Larcyn; 12-05-2011 at 10:44.
Larcyn is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 12-05-2011 , 10:50   Re: JailBreak Glow Menu .
Reply With Quote #8

You can optimize your code alot..
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
MyPc
Senior Member
Join Date: Sep 2011
Old 12-05-2011 , 13:02   Re: JailBreak Glow Menu .
Reply With Quote #9

Quote:
Originally Posted by Devil259 View Post
I think you are wrong. get_user_team can return false values in CS.
Show an example cause it never happend to me.
MyPc is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-05-2011 , 13:26   Re: JailBreak Glow Menu .
Reply With Quote #10

Quote:
Originally Posted by MyPc View Post
Show an example cause it never happend to me.
I don't have precise example, but cs_get_user_team( ) is better for CS.
__________________
You can do anything you set your mind to, man.

Devil259 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 02:20.


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