Plug-ins compatibility with Zombie Escape 1.x only!
-
Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#61
Post
by Night Fury » 6 years ago
Raheem wrote: ↑6 years ago
50% discount of the extra-item can be done in the specified items you need them to have discount for the VIP. Like after the player buy the item you may check if he is VIP then back him cost/2. Show me the item you need to add discount to it and i'll do it for you.
It can be done instead in VIP's source file. It's better than keeping defining each item's cost for VIP & non-VIP players.
Use 'buy item post' forward and get the chosen item's cost & divide it on 2.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
-
TheWhitesmith
- Member
- Posts: 33
- Joined: 6 years ago
- Location: Temara/Rabat
-
Contact:
-
Quote
-
0
login to like this post
#62
Post
by TheWhitesmith » 6 years ago
Just use the forward "ze_select_item_post" as Jack said and divide the cost on what you need
[SYA] CSGO-Mod for CS 1.6 [ Cases/Keys/Rank ][/size]
IP: 149.202.251.74:27016
-
Spir0x
- Veteran Member
- Posts: 641
- Joined: 7 years ago
- Location: Tunisia
-
Contact:
-
Quote
-
0
login to like this post
#63
Post
by Spir0x » 6 years ago
Guys who can make update for this plugin add a new flag after abcd "e"
flag e will give all players on Happy hours [VIP] Tag
thanks.
-
Spir0x
- Veteran Member
- Posts: 641
- Joined: 7 years ago
- Location: Tunisia
-
Contact:
-
Quote
-
0
login to like this post
#64
Post
by Spir0x » 6 years ago
@Raheem not nice idea ?
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#66
Post
by Raheem » 6 years ago
Post the code you try to compile.
He who fails to plan is planning to fail
-
sPe3doN
- Senior Member
- Posts: 258
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#67
Post
by sPe3doN » 5 years ago
why this is not work in my server ?
-
Night Fury
- Mod Developer
- Posts: 677
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#68
Post
by Night Fury » 5 years ago
sPe3doN wrote: ↑5 years ago
why this is not work in my server ?
Any problems appear on console/logs?
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
-
sPe3doN
- Senior Member
- Posts: 258
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#69
Post
by sPe3doN » 5 years ago
Jack GamePlay wrote: ↑5 years ago
sPe3doN wrote: ↑5 years ago
why this is not work in my server ?
Any problems appear on console/logs?
Nope i check i VIP & Best Deffender both dont work
-
johnnysins2000
- Veteran Member
- Posts: 678
- Joined: 7 years ago
- Location: Paraguay
-
Contact:
-
Quote
-
0
login to like this post
#70
Post
by johnnysins2000 » 5 years ago
sPe3doN wrote: ↑5 years ago
Jack GamePlay wrote: ↑5 years ago
sPe3doN wrote: ↑5 years ago
why this is not work in my server ?
Any problems appear on console/logs?
Nope i check i VIP & Best Deffender both dont work
Works for everyone why u only ?
there must be some plugin in your sv which is blocking it from loading...
Nobody Is That Busy If They Make Time
-
sPe3doN
- Senior Member
- Posts: 258
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#71
Post
by sPe3doN » 5 years ago
johnnysins2000 wrote: ↑5 years ago
sPe3doN wrote: ↑5 years ago
Jack GamePlay wrote: ↑5 years ago
Any problems appear on console/logs?
Nope i check i VIP & Best Deffender both dont work
Works for everyone why u only ?
there must be some plugin in your sv which is blocking it from loading...
Idk but i add only kgbbots plugin
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#72
Post
by Raheem » 5 years ago
Ayde12 wrote: ↑6 years ago
Raheem, dont compile: warning 225 unreachable code
edit:
public native_ze_get_vip_flags(id) { }
to be:
public native_ze_get_vip_flags(id)
{
if (file_exists(g_szLocalFile))
{
new iMaxLines = file_size(g_szLocalFile, 1)
new szLineToRead[129]
new szSteamID[35], szName[32]
new szParse[3][65]
new iTextLen
get_user_authid(id, szSteamID, charsmax(szSteamID))
get_user_name(id, szName, charsmax(szName))
for (new iLineToRead = 0; iLineToRead < iMaxLines; iLineToRead++)
{
read_file(g_szLocalFile, iLineToRead, szLineToRead, charsmax(szLineToRead), iTextLen)
parse(szLineToRead, szParse[0], 64, szParse[1], 64, szParse[2], 64)
remove_quotes(szParse[0])
remove_quotes(szParse[1])
remove_quotes(szParse[2])
if (!szParse[0][0] || szParse[0][0] == ';' || (szParse[0][0] == '/' && szParse[0][1] == '/'))
continue
if ((equali(szSteamID, szParse[0]) && szParse[0][0] == 'S') || equali(szName, szParse[0]))
{
g_bIsUserVIP[id] = true
copy(g_szPassword, charsmax(g_szPassword), szParse[1])
return read_flags(szParse[2])
}
}
}
else
{
write_file(g_szLocalFile, "; Zombie Escape VIP^n^n;Flags:^n")
write_file(g_szLocalFile, "; a -- Connect Message and VIP List")
write_file(g_szLocalFile, "; b -- Multi-Jump")
write_file(g_szLocalFile, "; c -- Parachute")
write_file(g_szLocalFile, "; d -- Scoreboard Attrib.^n^n;Examples:^n")
write_file(g_szLocalFile, "; ^"Steam/Nick^" ^"Password^" ^"Flags^"")
}
g_bIsUserVIP[id] = false
if (g_bSetVIP[id] == true)
{
return g_iFlags[id]
}
else
{
return VIP_Z
}
}
Useless
return VIP_Z
has been removed.
sPe3doN wrote: ↑5 years ago
why this is not work in my server ?
Answer:
Jack GamePlay wrote: ↑5 years ago
Any problems appear on console/logs?
He who fails to plan is planning to fail
-
sPe3doN
- Senior Member
- Posts: 258
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#73
Post
by sPe3doN » 5 years ago
sPe3doN wrote: ↑5 years ago
why this is not work in my server ?
Answer:
Jack GamePlay wrote: ↑5 years ago
Any problems appear on console/logs?
[/quote]
I check and server dont have any problem
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#74
Post
by Raheem » 5 years ago
New version is out:
Recommended for all to update old one with this new version.
He who fails to plan is planning to fail
-
sPe3doN
- Senior Member
- Posts: 258
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#75
Post
by sPe3doN » 5 years ago
when i add VIP I get this eroor
Code: Select all
L 07/20/2018 - 11:34:10: Start of error session.
L 07/20/2018 - 11:34:10: Info (map "ze_jurassicpark4") (file "addons/amxmodx/logs/error_20180720.log")
L 07/20/2018 - 11:34:10: Could not find function "Say_Text"
L 07/20/2018 - 11:34:10: [AMXX] Run time error 19 (plugin "ze_vip_system.amxx") - debug not enabled!
L 07/20/2018 - 11:34:10: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#76
Post
by Raheem » 5 years ago
You sure you use latest version 1.2?
He who fails to plan is planning to fail
-
sPe3doN
- Senior Member
- Posts: 258
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#77
Post
by sPe3doN » 5 years ago
Raheem wrote: ↑5 years ago
You sure you use latest version 1.2?
no this first version but i try 1.1 & 1.2 they work but with Problem only vip prefix work
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#78
Post
by Raheem » 5 years ago
Use version 1.2 and when any problem face you with any plugin please post and we will help you.
He who fails to plan is planning to fail
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#79
Post
by Raheem » 5 years ago
Updated, some optimization ideas suggested & done by jack. This not new version. And i added natives explanations in the .inc file.
He who fails to plan is planning to fail
-
Raheem
- Mod Developer
- Posts: 2214
- Joined: 7 years ago
-
Contact:
-
Quote
-
0
login to like this post
#80
Post
by Raheem » 5 years ago
New version released:
He who fails to plan is planning to fail
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 2 guests