Approved Chat Prefix

Gameplay Addons
Post Reply
User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 609
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

Chat Prefix

#1

Post by Mohamed Alaa » 2 Years Ago

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:
Want your own mod edition? PM me.
Accepting web projects.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#2

Post by Spir0x » 2 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
I trynna make money, not friends.

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 609
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#3

Post by Mohamed Alaa » 2 Years Ago

Spir0x wrote:
2 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.
Want your own mod edition? PM me.
Accepting web projects.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1962
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#4

Post by Raheem » 2 Years Ago

Good work but when i write message and i'am dead or in spec it never appears. Please fix this.
You don't know? Learn and you will know.

User avatar
th3_king
VIP
VIP
Egypt
Posts: 35
Joined: 2 Years Ago
Location: Egypt
Has thanked: 10 times
Been thanked: 2 times
Age: 17
Contact:

#5

Post by th3_king » 2 Years Ago

Good Job Jack :D

johnnysins2000
Veteran Member
Veteran Member
Pakistan
Posts: 672
Joined: 2 Years Ago
Location: Lahore
Has thanked: 11 times
Been thanked: 10 times
Age: 22
Contact:

#6

Post by johnnysins2000 » 2 Years Ago

Instead of green chat why not the default Yellow chat?
Nobody Is That Busy If They Make Time :roll:

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 609
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#7

Post by Mohamed Alaa » 2 Years Ago

Raheem wrote:
2 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:
2 Years Ago
Good Job Jack :D
Thanks.
johnnysins2000 wrote:
2 Years Ago
Instead of green chat why not the default Yellow chat?
You're free to do...
Want your own mod edition? PM me.
Accepting web projects.

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 609
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#8

Post by Mohamed Alaa » 2 Years Ago

*BUMB*
Want your own mod edition? PM me.
Accepting web projects.

User avatar
sam_bhosale4
Mod Tester
Mod Tester
India
Posts: 109
Joined: 2 Years Ago
Location: INDIA
Has thanked: 5 times
Been thanked: 2 times
Age: 21
Contact:

#9

Post by sam_bhosale4 » 2 Years Ago

works cool! very well done! +karma +like <3
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
Image

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 633
Joined: 2 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 19
Contact:

#10

Post by Spir0x » 2 Years Ago

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 ?
I trynna make money, not friends.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests