Raised This Month: $112 Target: $400
 28% 

[JailBreak] Glow/Unglow Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 05-28-2013 , 06:27   [JailBreak] Glow/Unglow Menu
Reply With Quote #1

Hello
This is my first Plugin ever made. Its a Glow Menu for JailBreak (can be used for all Mods).
I know there are already Glow Menus but the one i made no one have released yet!

Why is this the best Glow Menu?
-You have the feature to Glow/Unglow people by picking there names in different colors.
-You have the feature to Glow/Unglow all people by once.
-You have the feature to Glow/Unglow people by aiming at them (PickGlow)
-When you get glowed your screen gets the Color of the Glow for 1 second

Commands:
/glow

Sry for my bad English!
Note: Please edit the Chat Prints by yourself ( because my english is bad and i dont know if i wrote it in correct english ). I tried my best to write it in good English.

EDIT: I edited the Glow Menu so now also CTS without flags can use glow menu.

Last edited by UchihaSkills; 06-06-2013 at 01:36.
UchihaSkills is offline
pay boy
Member
Join Date: Aug 2012
Old 05-28-2013 , 06:37   Re: [JailBreak] Glow/Unglow Menu
Reply With Quote #2

client_print(0, print_chat, "[Glow] You are not an Admin!")



client_print(id, print_chat, "[Glow] You are not an Admin!")
pay boy is offline
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 05-28-2013 , 06:44   Re: [JailBreak] Glow/Unglow Menu
Reply With Quote #3

No more needed

Last edited by UchihaSkills; 05-28-2013 at 11:50.
UchihaSkills is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-28-2013 , 14:00   Re: [JailBreak] Glow/Unglow Menu
Reply With Quote #4

All text must be in English
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 05-28-2013 , 16:44   Re: [JailBreak] Glow/Unglow Menu
Reply With Quote #5

Quote:
Originally Posted by YamiKaitou View Post
All text must be in English
All is English now, im sorry
UchihaSkills is offline
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 05-31-2013 , 12:36   Re: [JailBreak] Glow/Unglow Menu
Reply With Quote #6

Do <you have any feedback? Bugs?
UchihaSkills is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-31-2013 , 13:07   Re: [JailBreak] Glow/Unglow Menu
Reply With Quote #7

Redundant, useless, unapproved.

Also, you have to read general forum rules : https://forums.alliedmods.net/misc.php?do=showrules
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 05-31-2013 , 18:12   Re: [JailBreak] Glow/Unglow Menu
Reply With Quote #8

useless? Why is it useless?
Its pefect for Jailbreak servers u need it there 100% for making teams and other stuff..
With the PickGlow you can glow really fast so u dont have to pick color and name every time.
I dont understand why its useless but well.
UchihaSkills is offline
Cheezpuff
BANNED
Join Date: Oct 2012
Location: City of the Dead
Old 06-01-2013 , 00:40   Re: [JailBreak] Glow/Unglow Menu
Reply With Quote #9

How it better?
PHP Code:
#include < amxmodx >
#include < cstrike >
#include < fakemeta_util >

#define gPrefix "AMXX"

new gTitle128 ];

new 
bool:Glow33 ];

public 
plugin_init() {
    
register_clcmd"say /glow""cmdGlow" );
}
public 
cmdGlowid )
{
    if ( 
cs_get_user_teamid ) == CS_TEAM_T || !(get_user_flagsid ) & ADMIN_SLAY ) )
    {
        
ColorChatid"^4ERROR:^3 Prisoners^1 canno't use the glow menu." );
        return 
PLUGIN_HANDLED;
    }
    if ( !
is_user_aliveid ) || !(get_user_flagsid ) & ADMIN_SLAY ) )
    {
        
ColorChatid"^4ERROR:^3 Dead Players^1 canno't use the glow menu." );
        return 
PLUGIN_HANDLED;
    }
    new 
players32 ], pnum;
    new 
szName32 ], szItem64 ], szTempId];
    
    
formatexgTitlecharsmaxgTitle ), "\y[\d%s\y]\w Glow Menu"gPrefix );
    new 
gMenu menu_creategTitle"subGlow" );
    
    
get_playersplayerspnum"ae""TERRORIST" );
    for( new 
i=0i<pnumi+=)
    {
        new 
tempid players];
        
        
num_to_strtempidszTempIdcharsmaxszTempId ) );
        
get_user_nametempidszNamecharsmaxszName ) );
        
formatexszItemcharsmaxszItem ), "\w%s %s"szNameGlowtempid ] ? "\r[\dGlow\r]" "" );
        
        if ( !
is_user_alivetempid ) )
            return 
PLUGIN_HANDLED;
        
        
menu_additemgMenuszItemszTempId );
    }
    
menu_setpropgMenuMPROP_PERPAGE);
    
menu_setpropgMenuMPROP_NUMBER_COLOR"\y" );
    
menu_displayidgMenu );
    
    return 
PLUGIN_HANDLED;
}
public 
subGlowidgMenugItem )
{
    new 
mData], _Trash;
    
menu_item_getinfogMenugItem_TrashmDatacharsmaxmData ), ""0_Trash );
    if( 
gItem != MENU_EXIT )
    {
        new 
tempid str_to_nummData );
        
        if ( 
cs_get_user_teamtempid ) != CS_TEAM_T )
        {
            
ColorChatid"^4ERROR:^3 Player^1 is not a^4 Prisoner^1." );
            return 
PLUGIN_HANDLED;
        }
        if ( !
is_user_alivetempid ) )
        {
            
ColorChatid"^4ERROR:^3 Player^1 is not ^4Alive^1." );
            return 
PLUGIN_HANDLED;
        }
        if ( 
cs_get_user_teamid ) == CS_TEAM_T || !(get_user_flagsid ) & ADMIN_SLAY ) )
        {
            
ColorChatid"^4ERROR:^3 Prisoners^1 canno't use the glow menu." );
            return 
PLUGIN_HANDLED;
        }
        if ( !
is_user_aliveid ) || !(get_user_flagsid ) & ADMIN_SLAY ) )
        {
            
ColorChatid"^4ERROR:^3 Dead Players^1 canno't use the glow menu." );
            return 
PLUGIN_HANDLED;
        }
        new 
szName32 ], szTempid32 ];
        
        
get_user_nameidszNamesizeof (szName) - );
        
        
get_user_nameidszTempidsizeof (szTempid) - );
        
        
fm_set_user_renderingtempidkRenderFxGlowShell, !Glowtempid ] ? 255 0, !Glowtempid ] ? 127 00kRenderNormal, !Glowtempid ] ? 75 );
        
        
ColorChat0"^4%s^3 %s^4 Glow^1 %s^4 %s^1 and is now^4 %s^1!"
        
szName, !Glow[tempid]?"Gave":"Took Away", !Glow[tempid]?"to":"from"szTempid, !Glow[tempid]?"Glowing":"Not Glowing" );
        
        
Glowtempid ] = !Glowtempid ];
        
        return 
PLUGIN_HANDLED;
    }
    
menu_destroygMenu );
    return 
PLUGIN_HANDLED;
}
stock ColorChat( const id, const string[], any:... )
{
    new 
msg[191], players[32], count 1;
    
    static 
lenlen formatex(msgcharsmax(msg), "^4[%s]^1 "gPrefix );
    
vformat(msg[len], charsmax(msg) - lenstring3);
    
    if(
id)  players[0] = id;
    else    
get_players(players,count,"ch");
    
    for (new 
0counti++)
    {
        if(
is_user_connected(players[i]))
        {
            
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"),_players[i]);
            
write_byte(players[i]);
            
write_string(msg);
            
message_end();
        }
    }

next time i will work about -->
PHP Code:
new g_iGlowNamesMAX_GLOWS ][ ] =
{
        
"Red",
        
"Green",
        
"Blue",
        
"Yellow",
        
"Cyan"
};
 
new 
g_iGlowRgbMAX_GLOWS ][ ] =
{
        { 
2554285 },
        { 
4225585 },
        { 
6568233 },
        { 
24924369 },
        { 
22146248 }
}; 

Last edited by Cheezpuff; 06-01-2013 at 00:41.
Cheezpuff is offline
Send a message via Skype™ to Cheezpuff
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 06-02-2013 , 12:00   Re: [JailBreak] Glow/Unglow Menu
Reply With Quote #10

Quote:
Originally Posted by ConnorMcLeod View Post
Redundant, useless, unapproved.

Also, you have to read general forum rules : https://forums.alliedmods.net/misc.php?do=showrules
and btw u said its Redundant, find me the same plugin with same features please.
UchihaSkills 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 04:18.


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