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

[VIP Extra Item] "HP 500"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The@Jok3r
Junior Member
Join Date: Aug 2020
Old 08-12-2020 , 03:11   [VIP Extra Item] "HP 500"
Reply With Quote #1

Please Can Some One Make A Plugin For VIP Team [ZOMBIE & HUMAN]
I want 500 extra HP for VIP
500 HP Player Can Buy 1 time in one round Please Make It Some 1
The@Jok3r is offline
Send a message via AIM to The@Jok3r Send a message via Yahoo to The@Jok3r Send a message via Skype™ to The@Jok3r
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 08-12-2020 , 04:09   Re: [VIP Extra Item] "HP 500"
Reply With Quote #2

Quote:
Originally Posted by The@Jok3r View Post
Please Can Some One Make A Plugin For VIP Team [ZOMBIE & HUMAN]
I want 500 extra HP for VIP
500 HP Player Can Buy 1 time in one round Please Make It Some 1
which mod ?
Vip flag ?

Last edited by Supremache; 08-12-2020 at 04:10.
Supremache is offline
MaNaReaver
Member
Join Date: Apr 2020
Location: India
Old 08-12-2020 , 09:25   Re: [VIP Extra Item] "HP 500"
Reply With Quote #3

Quote:
Originally Posted by Supremache View Post
which mod ?
Vip flag ?
I'm guessing he's talking about Zombie Plague with Admin flags classified as VIPs. There are several plugins, but OciXCrom's Custom Shop can help you out with lots of items, and you can set them up with ammopacks as well as cash or points with cshop_settings.inc file.

You just need to edit the CustomShop.ini and set the health points of 500 HP instead of 50 if you want to achieve just that.

But that'll be a shop by itself and if you just need an individual item instead of a menu with a large collection, it shouldn't be hard to write a small plugin that does so. Also, a search for zombie plague shop can get you enough results with several customized shops that have lots of items, and you'll just need to compile it.
__________________

Last edited by MaNaReaver; 08-12-2020 at 09:28.
MaNaReaver is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 08-12-2020 , 16:18   Re: [VIP Extra Item] "HP 500"
Reply With Quote #4

Quote:
Originally Posted by MaNaReaver View Post
I'm guessing he's talking about Zombie Plague with Admin flags classified as VIPs. There are several plugins, but OciXCrom's Custom Shop can help you out with lots of items, and you can set them up with ammopacks as well as cash or points with cshop_settings.inc file.

You just need to edit the CustomShop.ini and set the health points of 500 HP instead of 50 if you want to achieve just that.

But that'll be a shop by itself and if you just need an individual item instead of a menu with a large collection, it shouldn't be hard to write a small plugin that does so. Also, a search for zombie plague shop can get you enough results with several customized shops that have lots of items, and you'll just need to compile it.
If he is using zombie plague mod then he want extra item plugin and that's easy but he said "want it for vips so i think he using zm_vip system so that's working with different codes" and i also need him exmple me what he want and 500 hp for humans or zombies or all also if hey using zombie plague mod then he dont need to use CustomShop.ini because there's already something like shop api system "ExtraItems" With .ini file
Supremache is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 08-12-2020 , 16:31   Re: [VIP Extra Item] "HP 500"
Reply With Quote #5

Here we go i made this plugin for zm_vip system but i didn't tested it yet

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <zombieplague>
#include <zmvip>
#include <colorchat>

#define MAX_PLAYERS 32

new const szPrfix[] = { "^4[ZP]^1" };

new const 
g_item_health_name[] = { "Health" }
const 
g_item_health_cost 25
const g_health_amount 500

new bool:g_HasHealth[MAX_PLAYERS+1]
new 
g_itemid_health

public plugin_init()
{
    
    
register_plugin("[VIP] ExtraHP""1.0""Supremache");
    
    
g_itemid_health zv_register_extra_item(g_item_health_name"\y(500hp)"g_item_health_costZP_TEAM_HUMAN ZP_TEAM_ZOMBIE)
}

// Human buys our upgrade, give him some health
public zv_extra_item_selected(playeritemid)
{
    if (
itemid == g_itemid_health)
    {
        new 
szPlayerName[32]
        
get_user_name(playerszPlayerName31)
        
        
set_pev(playerpev_healthfloat(pev(playerpev_health) + g_health_amount))
        
g_HasHealth[player] = true;
        
ColorChat(0GREY"%s ^3%s ^1just bought ^4Health (%i hp)"szPrfixszPlayerNameg_health_amount)
    }



Last edited by Supremache; 08-12-2020 at 16:32.
Supremache 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 19:39.


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