Approved VIP TAG

Gameplay Addons
Post Reply
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:

VIP TAG

#1

Post by Spir0x » 5 Months Ago

VIP Tag

Description:
  • A new plugin for VIPs, It's VIP Tag.
    This plugin will give VIPs who have Flag "F" a VIP Prefix, It's Specially for Happy Hours. so at 00:00 player can get a prefix.
Installation & Instructions:
  • Simply install it like any plugin and Don't forget to add flag "f" like: ze_happy_hours_vip_flags "f" into your ze_vips.ini
Downloads:
I trynna make money, not friends.

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 399
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#2

Post by Muhammet20 » 5 Months Ago

Spir0x wrote:
5 Months Ago
VIP Tag

Description:
  • A new plugin for VIPs, It's VIP Tag.
    This plugin will give VIPs who have Flag "F" a VIP Prefix, It's Specially for Happy Hours. so at 00:00 player can get a prefix.
Installation & Instructions:
  • Simply install it like any plugin and Don't forget to add flag "f" like: ze_happy_hours_vip_flags "f" into your ze_vips.ini

    Downloads:
I already have it but,
great work
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

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

#3

Post by Mohamed Alaa » 4 Months Ago

Can you tell me what the difference is between your code and THIS CODE
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

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

#4

Post by Raheem » 4 Months Ago

Jack GamePlay wrote:
4 Months Ago
Can you tell me what the difference is between your code and THIS CODE
Like he republished it as a plugin only.

Will be tagged as approved, by this it will be easy to be find than in public requests section.
You don't know? Learn and you will know.

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:

#5

Post by Spir0x » 4 Months Ago

I'm just trying to post all lost codes in public section to Gameplay section. that's it
I trynna make money, not friends.

User avatar
Luxurious
Senior Member
Senior Member
Egypt
Posts: 150
Joined: 1 Year Ago
Location: Egypt
Has thanked: 3 times
Been thanked: 4 times
Contact:

#6

Post by Luxurious » 3 Months Ago

That`s Have Problem when i type any thing

!n[!gVIP!n] !gNick!n: !t!n[!gVIP!n] !gNick!n: !t
Nick :
BeTalk Zombie-Escape V1.4
IP : 51.77.103.159:27015

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:

#7

Post by Spir0x » 3 Months Ago

idk bro, ask the author of it (Jack Gameplay).. i justed repost it here in general topic. becuz it was in public requests.
I trynna make money, not friends.

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

#8

Post by Mohamed Alaa » 3 Months Ago

Luxurious wrote:
3 Months Ago
That`s Have Problem when i type any thing

!n[!gVIP!n] !gNick!n: !t!n[!gVIP!n] !gNick!n: !t
Nick :
Try this code:

Code: Select all

#include <zombie_escape>
#include <ze_vip>
 
#define VIP_PREFIX_FLAG VIP_A
#define VIP_PREFIX_TAG "!n[!gVIP!n] "
 
public plugin_init()
{
    register_plugin("[ZE] VIP Prefix", "1.0", "Jack")
    register_clcmd("say", "cmd_say")
    register_message(get_user_msgid("SayText"), "BlockDoubleMessages")
}
 
public BlockDoubleMessages()
{
    return PLUGIN_HANDLED
}

 
public cmd_say(id)
{
    if (!is_user_connected(id))
        return
 
    if (ze_get_vip_flags(id) & VIP_PREFIX_FLAG)
    {
        new szMessage[256], szName[32]
        read_args(szMessage, charsmax(szMessage))
        remove_quotes(szMessage)
        trim(szMessage)
        get_user_name(id, szName, charsmax(szName))
 
        for (new iChar = 0; iChar <= charsmax(szMessage); iChar++)
        {
            if (szMessage[iChar] == '^2' || szMessage[iChar] == '^3' || szMessage[iChar] == '^4')
                szMessage[iChar] = '^1'
        }
 
        if (!is_valid_msg(szMessage))
            return
 
        formatex(szMessage, charsmax(szMessage), "%s!g%s!n: !t%s", VIP_PREFIX_TAG, szName, szMessage)
 
        for (new i = 1; i <= get_member_game(m_nMaxPlayers); i++)
        {
            if (!is_user_connected(i))
                continue
 
            message_begin(MSG_ONE, get_user_msgid("SayText"), {0, 0, 0}, i)
            write_byte(id)
            write_string(szMessage)
            message_end()
        }
    }
}
 
bool:is_valid_msg(const szMessage[])
{
    if (szMessage[0] == '@' || !strlen(szMessage) || szMessage[0] == '/' || szMessage[0] == '#')
        return false
       
    return true
}
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests