Approved VIP TAG

Gameplay Addons
Post Reply
User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 640
Joined: 3 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 20
Contact:

VIP TAG

#1

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

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 2 Years Ago
Has thanked: 36 times
Been thanked: 5 times
Contact:

#2

Post by Muhammet20 » 1 Year Ago

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

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 664
Joined: 3 Years Ago
Location: Egypt
Has thanked: 38 times
Been thanked: 52 times
Age: 20
Contact:

#3

Post by Mohamed Alaa » 1 Year 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: 2031
Joined: 3 Years Ago
Location: Egypt
Has thanked: 39 times
Been thanked: 124 times
Age: 22
Contact:

#4

Post by Raheem » 1 Year Ago

Jack GamePlay wrote:
1 Year 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.

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 640
Joined: 3 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 20
Contact:

#5

Post by Spir0x » 1 Year 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: 153
Joined: 2 Years Ago
Location: Egypt
Has thanked: 3 times
Been thanked: 4 times
Contact:

#6

Post by Luxurious » 1 Year 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: 640
Joined: 3 Years Ago
Location: Tunisia
Has thanked: 14 times
Been thanked: 7 times
Age: 20
Contact:

#7

Post by Spir0x » 1 Year 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: 664
Joined: 3 Years Ago
Location: Egypt
Has thanked: 38 times
Been thanked: 52 times
Age: 20
Contact:

#8

Post by Mohamed Alaa » 1 Year Ago

Luxurious wrote:
1 Year 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 4 guests