ZP VIP System
1 Attachment(s)
Note: This plugin requires that you have enabled this plugin https://forums.alliedmods.net/showthread.php?t=161255 in order to work
Plugin version: 2.3 [ New version released.Scroll down to see new feature Plugin Author: Riste.kgb Category: Zombie Plague / Zombie Escape modes Credits to: Edon1337 (For file reading/writting) Cvars: Code:
zv_vip_damage (default 3.0) Code:
say /status = it will print the message when their vip status automatically ends and his flags - When the freevip hour started no need to wait for next map to have freevip privileges. - When the vip player expire date reached, it is automatically removed - VIP players can have custom models for each vip - VIP players can do more damage (depending of the flag) - VIP Players if fall they will not get any damage (depending of the cvar) - VIP Players have multi jump Saving vips in config/vips.ini: Code:
Flags Code:
The vip player should use setinfo _pass "password" to authorize as a vip. Code:
native zv_get_vip_flag(index, const flag[]) // returns boolean true if the vip player has that flag or false if not. Ill post in next post how to register a extra item / zombie class available to vips only. Update Changelog: Code:
- Fixed bugs in ZP mode ( that i wasn't tested it, now it everything works fine) Code:
- Added new native zv_register_extra_item(const name[], const desc[], cost,teams,const flag[]) Code:
Changelog v2.2: Code:
Update v2.3 Code:
native zv_register_extra_item( const name[], const desc[], cost, teams, const flags[]) // teams = ZP_TEAM_HUMAN or ZP_TEAM_ZOMBIE | vip flags Code:
Update v2.4 |
Re: ZP VIP System
MK: fun, cellaray и fakemeta се непотребни. Обиди се да го индентираш/подредиш кодот подобро за да биде полесно читлив за луѓего, вклучително и за самиот тебе.
EN: fun, cellarray and fakemeta are not needed. You should indent your code better to make it easier for people (including yourself) to read it. |
Re: ZP VIP System
Plugin is updated.
Read the first post about the change and new features that will be live soon. It's recommended to update the plugin, so the new version comes without bugs. |
Re: ZP VIP System
This code seems like a bunch of copy-pasting, especially Elite Admin System.
Suggestions: 1. You're only pre-caching 1 model from the array, then breaking the loop, resulting into server crash because of un-precached models. PHP Code:
3. Implement ML |
Re: ZP VIP System
Quote:
ML - will be added later when i finish with /vm menu. EDIT: The bug with precaching models should be fixed now. Updated the first post with a new update. |
Re: ZP VIP System
Quote:
Ur plugin: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: ZP VIP System
Quote:
I copied only that in realodfile bcz i had something bugged in file writting/reading and that's all. Why i should rename variables? if u look everywhere now 70% have similar variables or same variables. Variables never be edited im continuing to finish this and gave it free to the people. If u want credits, ill put it no problem :) |
Re: ZP VIP System
Quote:
Quote:
Quote:
|
Re: ZP VIP System
Quote:
I didnt have time to edit because i was got too many bugs to be fixed. now i think its fixed bug with precaching. PS: Data storing i learned from dynamic array tutorial in alliedmods so, this doesn't mean i was copied from u. If u think bcz i used same variables then maybe Upcoming features: Code:
- VIP zm/human will get extra ammo packs for infecting / killing zombie depending of cvar |
Re: ZP VIP System
I think this plugin should be posted here
https://forums.alliedmods.net/forumdisplay.php?f=126 |
All times are GMT -4. The time now is 23:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.