Raised This Month: $51 Target: $400
 12% 

Help / Support Vip with extra level system


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BIOHAXZARD
New Member
Join Date: Jan 2024
Old 01-25-2024 , 03:34   Vip with extra level system
Reply With Quote #1

// Base plugin cvars

zp_vip_jumps 5 // How many jumps can player do in air.
zp_vip_allow_jump abcd // Allow multi-jump: a-human. b-zombie, c-survivor, d-nemesis. Write letters of classes witch you want to affect.
zp_vip_armor 50 // How much armour humans gets every spawn, [0-off]
zp_vip_killammo 5 // Extra ammo for kills [zombies and humans], [0-off]
zp_vip_infectammo 5 // Extra ammo for infecting humans [zombies], [0-off]
zp_vip_infecthealth 150 // Extra health witch zombies gets when infecting humans [0-off]
zp_vip_nemextra 2000 // 1 - ignore extra health (zp_vip_infecthealth) for nemesis [0-don't ignore]
zp_vip_show 1 // Show connecting vips (in chat) [0-off]
zp_vip_unlimited_ammo 0 // 1 - Give vips unlimited clip for all guns [0-off]
zp_vip_no_fall_damage 1 // 1 - Disables fall damage for vips [0-off]
zp_vip_damage_reward 0 // Damage done to get 1 ammo pack [0-off]. IMPORTANT: ZP mod always givving ammo in this type(If enabled). This cvar is seperate from main mod, so vips gets x2 ammo packs. One from mod, other from this plugin.
zp_vip_damage_increase 1.2 // How much increase humans attack demage (damage*cvar). [1.0 - off]
zp_vip_happy_hour off // Enables Happy Hour. Example: (zp_vip_hour 03-13) from 3h night, to 13h day. ['off' - off]
zp_vip_happy_hour_frag 6 // Gives extra frag for kills and infect
zp_vip_happy_hour_ammo 1 // Gives extra ammo packet for infect and kills
zp_vip_nonvip_tease 1 // Let non vip player open /vm menu, but they can't buy anything.

// MODE 2 cvars (they will work only then MODE is set to 2 or 3)

zp_vip_register_in_zp_extra 1 // Show VIP menu in Zombie Plague Extra items menu [0-off]
zp_vip_menu_close 1 // 1-will close menu, after extra item bought, 0 - don't
zp_vip_hour off // Gives vips for all players. Example: (zp_vip_hour 03-13) from 3h night, to 13h day all will get a free vip. ['off' - off]
zp_vip_hour_flags abe // Flags witch player gets (zp_vip_hour) active (check vips.ini)

// MODE 3 cvars (they will work only then MODE is set to 3)

zp_vip_cost_ammo 0 // How much ammo will cost VIP, if buying it from extra items menu [0-just opens menu, when select "VIP Menu".]
zp_vip_buy_time 15 // days how long (days) players will have vip, when bought it for ammo. 0 - forever
zp_vip_buy_flags abcde // Flags witch player gets when buying vip (check vips.ini)

vips.ini
; ZM VIP's configuration file

; Line starting with ; is a comment, and will not be read by system.

; Plugin flags:
; a - main vip functions
; b - multi-jump
; c - unlimited clip
; d - damage increase (zp_vip_damage_increase)
; e - access to vips's extra items buy menu

So my question is, can anyone help me figure out how to make a vip system example vip 1 to 5, like shown in the vips.ini file there are abcde i would like to add for each category jumps, so as shown in the cvars max jumps are 5 but i need to make like vip 1 with only "a" gets double jump, vip with "ab" gets double jump, vip with "abc" gets triple jump and so on, anyone done this?


Original plugin author - https://forums.alliedmods.net/showthread.php?p=1098857
Best regards
Biohaxzard

Last edited by BIOHAXZARD; 01-25-2024 at 05:33. Reason: Adding the original link
BIOHAXZARD is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode