Page 1 of 4

Chat Prefix

Posted: 26 Jun 2017, 02:49
by Night Fury
Chat Prefix

| Description:

This plugin will add a custom prefix before every player's message.


| Cvars:
  • Enable message logging?

    Code: Select all

    ze_log_messages

| Prefix names:
  • You can change CT team prefix name from this line:

    Code: Select all

    new const szCTName[] = "Humans"
  • You can change T team prefix name from this line:

    Code: Select all

    new const szTName[] = "Zombies"
  • You can change SPEC team prefix name from this line:

    Code: Select all

    new const szSpecTName[] = "Spectators"
  • You can change dead prefix name from this line:

    Code: Select all

    new const szDeadName[] = "Dead"
  • You can change level prefix name from this line:

    Code: Select all

    new const szLevelName[] = "Level"

| Notes:
  1. This plugin will not work unless the .ini file was found.
  2. There are 3 colors:
    1. ^1 => Yellow.
    2. ^4 => Green.
    3. ^3 => Team color => blue for CT, red for T, white/gray for Spec.
    • Edit the custom prefixes file's name from here:

      Code: Select all

      new const ZE_CUSTOMPREFIX[] = "ze_customprefix"
  3. You can comment a line in the .ini file by adding at the begging of the line any of the characaters in g_szReservedChars Array.

| Changelog:
  • Spoiler!

    Image
    • First stable release.
    Image
    1. Minor bug fixes.
    2. Added VIP prefix.
    3. Added Level prefix.
    4. Update code style.
    5. Green message for VIPs.
    6. Fixed "say_team" messages.
    Image
    • Minor bug fixes.
    Image [Current Version]
    • Minor bug fixes.
    • Added custom prefixes file.
    • Replace class prefixes with a name & message team color.
    • Updated code style.
    • Plugin optimizated.

| Download:

Re: Levels Prefix

Posted: 27 Jun 2017, 01:15
by Spir0x
Nice but when i write some thing on my server i see
Spirox: Hi
(Human) [Level 9] Spirox: Hi :/ what's the problem

Re: Levels Prefix

Posted: 27 Jun 2017, 08:19
by Night Fury
Spir0x wrote: 6 years ago Nice but when i write some thing on my server i see
Spirox: Hi
(Human) [Level 9] Spirox: Hi :/ what's the problem
Remove any other plugin related to chat options.

Re: Levels Prefix

Posted: 27 Jun 2017, 16:42
by Raheem
Good work but when i write message and i'am dead or in spec it never appears. Please fix this.

Re: Levels Prefix

Posted: 27 Jun 2017, 16:48
by th3_king
Good Job Jack :D

Re: Levels Prefix

Posted: 27 Jun 2017, 19:49
by johnnysins2000
Instead of green chat why not the default Yellow chat?

Re: Levels Prefix

Posted: 28 Jun 2017, 00:51
by Night Fury
Raheem wrote: 6 years ago Good work but when i write message and i'am dead or in spec it never appears. Please fix this.
I'll review.
Th3 King wrote: 6 years ago Good Job Jack :D
Thanks.
johnnysins2000 wrote: 6 years ago Instead of green chat why not the default Yellow chat?
You're free to do...

Re: Levels Prefix

Posted: 01 Jul 2017, 08:18
by Night Fury
*BUMB*

Re: Levels Prefix

Posted: 07 Jul 2017, 17:59
by sam_bhosale4
works cool! very well done! +karma +like <3

Re: Levels Prefix

Posted: 07 Jul 2017, 21:48
by Spir0x
Jack can you update that plugin with cvars example:
ze_prefix_class 1 // 0 Disabled l 1 Enabled Show [Human] or [Zombie]
ze_prefix_level 1 // 0 Disabled l 1 Enabled Show [Level %]
Nice idea ?

Re: Levels Prefix

Posted: 15 Jul 2017, 13:49
by Spir0x
Jack it still like this
Player: Hi !
[Human] [Level 0] Player: Hi !

All my plugins here what i disable?:

Code: Select all

; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx		; basic admin console commands
adminhelp.amxx		; help command for admin console commands
adminslots.amxx		; slot reservation
multilingual.amxx	; Multi-Lingual management

; Menus
menufront.amxx		; front-end for admin menus
cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
;telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)
pluginmenu.amxx		; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx		; console chat commands
antiflood.amxx		; prevent clients from chat-flooding the server
scrollmsg.amxx		; displays a scrolling message
imessage.amxx		; displays information messages
adminvote.amxx		; vote commands

; Map related
nextmap.amxx		; displays next map in mapcycle
mapchooser.amxx		; allows to vote for next map
timeleft.amxx		; displays time left on map

; Configuration
pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx		; restrict weapons menu
statsx.amxx		; stats on death or round end (CSX Module required!)
;miscstats.amxx		; bunch of events announcement for Counter-Strike
;stats_logging.amxx	; weapons stats logging (CSX Module required!)

Re: Levels Prefix

Posted: 15 Jul 2017, 16:56
by sam_bhosale4
Spir0x wrote: 6 years ago Jack it still like this
Player: Hi !
[Human] [Level 0] Player: Hi !

All my plugins here what i disable?:

; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
;stats_logging.amxx ; weapons stats logging (CSX Module required!)
this is due to using other chat plugin like deadchat plugin..
simply disable/remove any other chat plugins deadchat plugin as well if u using! :)

Re: Levels Prefix

Posted: 15 Jul 2017, 17:43
by Spir0x
were you see i'm using deadchat plugin?

Re: Levels Prefix

Posted: 15 Jul 2017, 17:58
by Raheem
Post your plugins in plugins-zombie_escape.ini

Re: Levels Prefix

Posted: 15 Jul 2017, 20:11
by Spir0x

Code: Select all

;Core
ze_core.amxx

;Setting API / Models
amx_settings_api.amxx
cs_weap_models_api.amxx

;Mod Addons
ze_block_events_messages.amxx
ze_nightvision_lighting.amxx
ze_effects_frags.amxx
ze_effects_weather.amxx
ze_coins_system.amxx
ze_hud_info.amxx
ze_weapon_menu.amxx
ze_main_menu.amxx
ze_items_manager.amxx
ze_items_escape_coins.amxx
ze_fire.amxx
ze_frost.amxx
ze_countdown.amxx
ze_resources.amxx
ze_special_models.amxx
ze_zombie_sounds.amxx

;Extra-Addons
ze_damage_control.amxx
ze_CustomFlashLight.amxx
ze_ice_cube.amxx
ze_effects_messages.amxx
ze_escape_coins_donation.amxx
ze_break_message.amxx
ze_win_message.amxx
ze_best_infector.amxx
ze_best_defender.amxx
ze_multijump.amxx
ze_manual_unstuck.amxx
ze_parachute.amxx
ze_level_system.amxx
;ze_levels_prefix.amxx
ze_give_escape_coins.amxx
ze_infect_effect.amxx
ze_target_info.amxx
ze_supplybox.amxx
ze_set_player_level.amxx
ze_spawn_auto_unstuck.amxx
ze_thunder_effect.amxx
ze_time_presents.amxx
ze_random_get.amxx
ze_vip_m249.amxx
ze_vip_system.amxx
ze_vip_green_chat.amxx
ze_reset_score.amxx
ze_knife_menu.amxx
ze_grenade_status.amxx
ze_escape_button_message.amxx
ze_escape_button_detector.amxx
ze_show_zombie_hp.amxx
ze_coin_change.amxx
;ze_vip_trail.amxx
;ze_health_bar.amxx

;Extra-Menu
ze_extra_fire_nade.amxx
ze_extra_frost_nade.amxx
ze_madness.amxx

Re: Levels Prefix

Posted: 15 Jul 2017, 20:31
by Raheem
What this plugin?
  • ze_vip_green_chat.amxx

Re: Levels Prefix

Posted: 16 Jul 2017, 15:34
by Spir0x
it's green chat for vips then i already disabled it and i tested levels prefix but still like this:
Player: Hi !
[Human] [Level 0] Player: Hi !

Re: Levels Prefix

Posted: 16 Jul 2017, 16:39
by Raheem
Hmm, I don't know why but you can disable plugins one by one till you get the one have that problem.

Re: Levels Prefix

Posted: 16 Jul 2017, 18:08
by Spir0x
Done ! it's from this plugin

;statsx.amxx ; stats on death or round end (CSX Module required!)

if anyone want use this plugin make sur you have disabled this plugin

Re: Levels Prefix

Posted: 16 Jul 2017, 18:58
by Raheem
Nice you solved it. statsx is useless in zombie escape.