+- +-

+-User

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Author Topic: [ZP] SVIP Plugin  (Read 172 times)

0 Members and 1 Guest are viewing this topic.

DON KHAN

  • My Bio
  • FoundeR
  • Hero Member
  • *****
  • Posts: 5046
  • Karma: +0/-0
  • Gender: Male
  • Scriptor, Model Editor, Bug Fixer And Student
  • Location: Karachi
    • View Profile
    • Ro{Y}aL WarLanD Community
[ZP] SVIP Plugin
« on: June 13, 2019, 11:43:24 am »
Hello Guys.

I Saw In Many ZP Servers Having SVIP Plugin , But When I Searched For This Plugin Here So I Didn't Get But I Got The aaarnas VIP Plugins Then I Decided To Turned It Into SVIP Plugin.

I Got A SVIP Plugin But Its Was In Amxx File And When I Added It Into My Server The SVIP Plugin And VIP Plugin's Was Disturbing Each Other Due To Same Lang In The .txt File.

Credits:

aaarnas For The Real Plugin

Me: For Turning It To SVIP Plugin.


Description:

* SVIP Have SVIP Menu In Extra Items.

* Show A SVIP Connect Message When A SVIP Connects.

* Show The SVIP Player In /svips

* /svip For The SVIP Privilege.

* Same Cvars As aaarnas' ZM VIP Plugin But Some Changing.. You Can See All Cvars Bellow.

* It Has Damage, Jumps, Armor, Unlimited Ammo, Kill Ammo, Infect Health. (I Didn't Created This aaarnas Created This I Just Edited This).


Cvars:

//--------------------------------
//   ZM_SVIP v1.5 cvars file
//   Author: aaarnas and turned into svip by DON KHAN
//--------------------------------
// Changes loads only on server mapchange/restart/start.

// Base plugin cvars

zp_svip_jumps 3 // How many jumps can player do in air.
zp_svip_allow_jump ab // Allow multi-jump: a-human. b-zombie, c-survivor, d-nemesis. Write letters of classes witch you want to affect.
zp_svip_armor 200 // How much armour humans gets every spawn, [0-off]
zp_svip_killammo 2 // Extra ammo for kills [zombies and humans], [0-off]
zp_svip_infectammo 2 // Extra ammo for infecting humans [zombies], [0-off]
zp_svip_infecthealth 1000 // Extra health witch zombies gets when infecting humans [0-off]
zp_svip_nemextra 1 // 1 - ignore extra health (zp_svip_infecthealth) for nemesis [0-don't ignore]
zp_svip_show 1 // Show connecting svips (in chat) [0-off]
zp_svip_unlimited_ammo 1 // 1 - Give vips unlimited clip for all guns [0-off]
zp_svip_no_fall_damage 1 // 1 - Disables fall damage for vips [0-off]
zp_svip_damage_reward 1000 // 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.0 // How much increase humans attack demage (damage*cvar). [1.0 - off]
zp_svip_happy_hour off // Enables Happy Hour. Example: (zp_vip_hour 03-13) from 3h night, to 13h day. ['off' - off]
zp_svip_happy_hour_frag 1 // Gives extra frag for kills and infect
zp_svip_happy_hour_ammo 1 // Gives extra ammo packet for infect and kills
zp_svip_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_svip_register_in_zp_extra 1 // Show SVIP menu in Zombie Plague Extra items menu [0-off]
zp_svip_menu_close 1 // 1-will close menu, after extra item bought, 0 - don't
zp_svip_hour off // Gives vips for all players. Example: (zp_svip_hour 03-13) from 3h night, to 13h day all will get a free svip. ['off' - off]
zp_svip_hour_flags abe // Flags witch player gets (zp_svip_hour) active (check svips.ini)

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

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

Versions:

1.0: Turned VIP Plugin To SVIP Plugin.

1.1: Changed Cvars Name.

1.2: Edited Lang File Of SVIP Plugin.

1.3: Edit SVIP Menu.

1.4: Fixed SVIP Menu From The Extra Items.

1.5: Fixed SVIP Menu Because SVIP Guns Wasn't Showing In The SVIP Plugin.


Now Lets Move Out From Here And Now I Will Teach You How Too Make A SVIP Plugin.

Cuz I Edited The zmvip.inc Too And Made It zmsvip.inc So There Are Some Changes.

To Turn A Gun To SVIP Gun Follow These Steps:

* Add #include <zmsvip> In The SMA File.

* Find zp_register_extra_item(const name[], const discription[], cost, team). For Example:
Code: [Select]
zp_register_extra_item("CrossBow", 150, ZP_TEAM_HUMAN)Now Change The Line Into. zsv_register_extra_item(const name[], const discription[], cost, team)
For Example:
Code: [Select]
zsv_register_extra_item("CrossBow", "3x Damage", 150, ZSV_TEAM_HUMAN)
* Now The Final Step: Find For
Code: [Select]
public zp_extra_item_selected(id, itemid)   And Make It:
Code: [Select]
public zsv_extra_item_selected(id, itemid)
For Compiling The Gun Plugin You Must Have To put zmsvip.inc To Include Folder.

Now Save And Compile The Plugin.


Hope You Guys Like My Effort.


If You Want Any Help So Feel Free To Ask :D
« Last Edit: June 13, 2019, 11:47:53 am by DON KHAN »
Selling Mods.
PM Me If You Want Any Plugin.
Facebook:- https://www.facebook.com/cs.pro.usman
Youtube:- PC Gaming And Technology With Usman
My Introduction:- Muslim, Student, Scriptor At Counter Strike 1.6, Bug Fixer And Model Editor.
To Download Any Game Visit Here:- http://crazygamers.ucoz.net/

Share on Facebook Share on Twitter


 

+-Recent Topics

5 ways to make money from playing games by Martha Louise
February 21, 2023, 01:47:19 am

Need mod :/ by bacem
October 13, 2019, 05:49:09 am

Rules by DON KHAN
August 28, 2019, 01:50:29 pm

[REQ] VIP are knife and all see this by DON KHAN
August 20, 2019, 12:56:37 pm

Advance VIP Menu [Public, CSDM & Furien] by DON KHAN
June 22, 2019, 11:50:05 am

For Umbrella Swarm mod by DON KHAN
June 22, 2019, 08:13:26 am

[ZP] VIP Model by DON KHAN
June 17, 2019, 08:57:35 am

[ZP] SVIP Plugin by DON KHAN
June 13, 2019, 11:43:24 am

Updates / Helpful BBC Codes For Your Post by DON KHAN
June 09, 2019, 03:01:39 am

BHOP Script by DON KHAN
June 08, 2019, 01:40:41 pm