Plug-ins compatibility with Zombie Escape 1.x only!
-
Spir0x
- Veteran Member
- Posts: 641
- Joined: 7 years ago
- Location: Tunisia
-
Contact:
-
Quote
-
0
login to like this post
#1
Post
by Spir0x » 4 years 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:
-
Muhammet20
- Veteran Member
- Posts: 407
- Joined: 5 years ago
-
Contact:
-
Quote
-
0
login to like this post
#2
Post
by Muhammet20 » 4 years ago
Spir0x wrote: ↑4 years 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
-
Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#3
Post
by Night Fury » 4 years ago
Can you tell me what the difference is between your code and
THIS CODE
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#4
Post
by Raheem » 4 years ago
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.
He who fails to plan is planning to fail
-
Spir0x
- Veteran Member
- Posts: 641
- Joined: 7 years ago
- Location: Tunisia
-
Contact:
-
Quote
-
0
login to like this post
#5
Post
by Spir0x » 4 years ago
I'm just trying to post all lost codes in public section to Gameplay section. that's it
-
Luxurious
- Mod Tester
- Posts: 177
- Joined: 6 years ago
- Location: Egypt
-
Contact:
-
Quote
-
0
login to like this post
#6
Post
by Luxurious » 4 years ago
That`s Have Problem when i type any thing
!n[!gVIP!n] !gNick!n: !t!n[!gVIP!n] !gNick!n: !t
Nick :
DRK Zombie-Escape V1.6
IP : 81.169.153.129:27015
-
Spir0x
- Veteran Member
- Posts: 641
- Joined: 7 years ago
- Location: Tunisia
-
Contact:
-
Quote
-
0
login to like this post
#7
Post
by Spir0x » 4 years ago
idk bro, ask the author of it (Jack Gameplay).. i justed repost it here in general topic. becuz it was in public requests.
-
Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#8
Post
by Night Fury » 4 years ago
Luxurious wrote: ↑4 years 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 private projects.
Discord: Fury#7469
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute
Register
Sign in
Users browsing this forum: No registered users and 0 guests