AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Jailbreak Glow Menu v2.0 (https://forums.alliedmods.net/showthread.php?t=180289)

fLaXXiE. 03-13-2012 13:34

Jailbreak Glow Menu v2.0
 
1 Attachment(s)
Jailbreak Glow Menu
Version: 2.0
By: fLaXXiE.


Description:
- This plugin helps the guards hold better control over the prisoners.
- The guards can put a color on a prisoner and then e.g. say 'follow the red man'.

Available colors:
- Red Glow
- Blue Glow
- White Glow
- Green Glow
- Yellow Glow
- Purple Glow
- Purple Glow ( Weird )
- Cyan Glow
- Blue Glow ( Weird )


Installation:
- The sma file must be compiled locally/online and the output .amxx file will go in 'addons\amxmodx\plugins\' folder.

To do:
- Adding more colors to the menu.
- Please leave a post, if you have any ideas!

Changelog:
Code:

Version 1.0
 - Initial release.

Version 2.0
- Added 'colorchat.inc' in the plugin.

Credits to:
- fLaXXiE. ( Coder )
- Ex1ne ( Coder )

Xvil 03-13-2012 15:07

Re: Jailbreak Glow Menu v2.0
 
1. Add PCvars.
2. Add Admin Menu items
3. Admin Can Enabled Or Disabled this item

kramesa 03-13-2012 15:39

Re: Jailbreak Glow Menu v2.0
 
Quote:

Originally Posted by Xvil (Post 1668228)
1. Add PCvars.
2. Add Admin Menu items

PCvars of what?

Xvil 03-13-2012 17:42

Re: Jailbreak Glow Menu v2.0
 
Quote:

Originally Posted by kramesa (Post 1668268)
PCvars of what?

To enable or disable the plugin

kramesa 03-13-2012 17:47

Re: Jailbreak Glow Menu v2.0
 
Quote:

Originally Posted by Xvil (Post 1668339)
To enable or disable the plugin

Its not necessary.

Xvil 03-13-2012 17:59

Re: Jailbreak Glow Menu v2.0
 
Add a dictionary Colored For Langs

Example of use:
PHP Code:

// in Plugin_init
register_dictionary_colored("JbGlowMenu.txt")


// Using Example
new Name[32]
get_user_name(idNamecharsmax(Name))
client_print_color(idDontChange"%s"id"GLOW_RED"Name

In JbGlowMenu.txt
HTML Code:

[en]
GLOW_RED = %s Has chosen the Red Glow
[fr]
GLOW_RED = %s a choisit La lueur rouge


kramesa 03-13-2012 18:17

Re: Jailbreak Glow Menu v2.0
 
Quote:

Originally Posted by Xvil (Post 1668356)
Add a dictionary Colored For Langs

Example of use:
PHP Code:

// in Plugin_init
register_dictionary_colored("JbGlowMenu.txt")


// Using Example
new Name[32]
get_user_name(idNamecharsmax(Name))
client_print_color(idDontChange"%s"id"GLOW_RED"Name

In JbGlowMenu.txt
HTML Code:

[en]
GLOW_RED = %s Has chosen the Red Glow
[fr]
GLOW_RED = %s a choisit La lueur rouge


Code:
client_print_color(id, DontChange, "%L", Name, LANG_PLAYER, "GLOW_RED");

Xvil 03-14-2012 06:53

Re: Jailbreak Glow Menu v2.0
 
Quote:

Originally Posted by kramesa (Post 1668368)
Code:
client_print_color(id, DontChange, "%L", Name, LANG_PLAYER, "GLOW_RED");

You're Wrong
Look At this example of Colored Chat Dictionary
http://forums.alliedmods.net/showthread.php?p=529445

Larcyn 03-14-2012 11:04

Re: Jailbreak Glow Menu v2.0
 
Optimize your menu action..

Ex1ne 03-14-2012 14:25

Re: Jailbreak Glow Menu v2.0
 
I don't get credit for *fixing* the plugin? The Player[iPlayer] system/thing was made by me. wow o:


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

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