Approved Chat Prefix

Gameplay Addons
Post Reply
User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 512
Joined: 1 Year Ago
Location: Egypt
Has thanked: 31 times
Been thanked: 42 times
Age: 18
Contact:

Chat Prefix

#1

Post by Jack GamePlay » 1 Year 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:
Image

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 553
Joined: 1 Year Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 6 times
Age: 18
Contact:

#2

Post by Spir0x » 1 Year Ago

Nice but when i write some thing on my server i see
Spirox: Hi
(Human) [Level 9] Spirox: Hi :/ what's the problem

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 512
Joined: 1 Year Ago
Location: Egypt
Has thanked: 31 times
Been thanked: 42 times
Age: 18
Contact:

#3

Post by Jack GamePlay » 1 Year Ago

Spir0x wrote:
1 Year 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.
Image

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1717
Joined: 1 Year Ago
Location: Egypt
Has thanked: 28 times
Been thanked: 78 times
Age: 21
Contact:

#4

Post by Raheem » 1 Year 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: 29
Joined: 1 Year Ago
Location: Egypt
Has thanked: 9 times
Been thanked: 2 times
Age: 16
Contact:

#5

Post by th3_king » 1 Year Ago

Good Job Jack :D
Join Our Server
Image

johnnysins2000
Veteran Member
Veteran Member
Pakistan
Posts: 672
Joined: 1 Year Ago
Location: Lahore
Has thanked: 11 times
Been thanked: 10 times
Age: 21
Contact:

#6

Post by johnnysins2000 » 1 Year Ago

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

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 512
Joined: 1 Year Ago
Location: Egypt
Has thanked: 31 times
Been thanked: 42 times
Age: 18
Contact:

#7

Post by Jack GamePlay » 1 Year Ago

Raheem wrote:
1 Year 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:
1 Year Ago
Good Job Jack :D
Thanks.
johnnysins2000 wrote:
1 Year Ago
Instead of green chat why not the default Yellow chat?
You're free to do...
Image

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 512
Joined: 1 Year Ago
Location: Egypt
Has thanked: 31 times
Been thanked: 42 times
Age: 18
Contact:

#8

Post by Jack GamePlay » 1 Year Ago

*BUMB*
Image

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

#9

Post by sam_bhosale4 » 1 Year 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: 553
Joined: 1 Year Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 6 times
Age: 18
Contact:

#10

Post by Spir0x » 1 Year 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 ?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest