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

[Req] Cs 1.6 BB VipShop Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
YousufKhan2003
Junior Member
Join Date: Nov 2019
Location: Pakistan, Karachi
Old 11-16-2019 , 03:09   [Req] Cs 1.6 BB VipShop Plugin
Reply With Quote #1

Hi.
I Need Cs 1.6 BB VipShop Plugin
Name : BB_Vipshop.amxx
TItle :
HeRo VIPShop :
Options :
1.Guns
2.Health
Option 1 Items :
Title Of 1 : HeRo VipShop :
Guns :
1.G3SG1 [ 5000 ]
2.M249 [ 5000 ]
0.Exit
Option 2 Items :
Titile Of 2 : HeRo VipShop :
Health :
1.50 [ 1000 ]
2.100 [ 2000 ]
3.150 [ 2500 ]
0.Exit

For Open VipMenu Say : /vs , /vshop , /vipshop
Can Any One Give Me This Plugin I Need It Urgent
YousufKhan2003 is offline
ZaX
Senior Member
Join Date: Jan 2015
Old 11-16-2019 , 06:47   Re: [Req] Cs 1.6 BB VipShop Plugin
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <cstrike>
#include <fun>

public plugin_init()
{
    
register_plugin("Custom Shop""1.0""ZaX")

    
register_clcmd("say /vs""ClcmdMenu")
    
register_clcmd("say /vshop""ClcmdMenu")
    
register_clcmd("say /vipshop""ClcmdMenu")
}

public 
ClcmdMenu(id)
{
    new 
szMenu menu_create("HeRo VIPShop""szMenuHandler")

    
menu_additem(szMenu"Guns""0"0)
    
menu_additem(szMenu"Health""1"0)

    
menu_setpropszMenuMPROP_EXITMEXIT_ALL )

    
menu_display(idszMenu0)
}

public 
szMenuHandler(idszMenuitem)
{
    if(
item == MENU_EXIT)
    {
        
menu_destroy(szMenu)
        return 
PLUGIN_HANDLED
    
}

    switch(
item)
    {
        case 
0OpenGunsMenu(id)
        case 
1OpenHealthMenu(id)
    }
    return 
PLUGIN_CONTINUE
}

public 
OpenGunsMenu(id)
{
    new 
szGunsMenu menu_create("HeRo VIPShop""szGunsMenuHandler")
    
menu_additem(szGunsMenu"G3SG1 [5000]""0"0)
    
menu_additem(szGunsMenu"M249 [5000]""1"0)
    
menu_setpropszGunsMenuMPROP_EXITMEXIT_ALL )
    
menu_display(idszGunsMenu0)
}

public 
szGunsMenuHandler(idszGunsMenuitem)
{
    if(
item == MENU_EXIT)
    {
        
menu_destroy(szGunsMenu)
        return 
PLUGIN_HANDLED
    
}

    switch(
item)
    {
        case 
0:
        {
            if(
cs_get_user_money(id) < 5000)
            {
                
client_print(idprint_chat"No enough money!")
                return 
PLUGIN_HANDLED
            
}
            
give_item(id"weapon_g3sg1")
            
cs_set_user_bpammo(idCSW_G3SG190)
            
cs_set_user_money(idcs_get_user_money(id) - 5000)
        }
        case 
1:
        {
            if(
cs_get_user_money(id) < 5000)
            {
                
client_print(idprint_chat"No enough money!")
                return 
PLUGIN_HANDLED
            
}
            
give_item(id"weapon_m249")
            
cs_set_user_bpammo(idCSW_M249200)
            
cs_set_user_money(idcs_get_user_money(id) - 5000)
        }
    }
    return 
PLUGIN_CONTINUE
}


public 
OpenHealthMenu(id)
{

    new 
szHealthMenu menu_create("HeRo VIPShop""szHealthMenuHandler")
    
menu_additem(szHealthMenu"Health 50 [1000]""0"0)
    
menu_additem(szHealthMenu"Health 100 [2000]""1"0)
    
menu_additem(szHealthMenu"Health 150 [2500]""2"0)
    
menu_setpropszHealthMenuMPROP_EXITMEXIT_ALL )
    
menu_display(idszHealthMenu0)
}

public 
szHealthMenuHandler(idszHealthMenuitem)
{
    if(
item == MENU_EXIT)
    {
        
menu_destroy(szHealthMenu)
        return 
PLUGIN_HANDLED
    
}

    switch(
item)
    {
        case 
0:
        {
            if(
cs_get_user_money(id) < 1000)
            {
                
client_print(idprint_chat"No enough money!")
                return 
PLUGIN_HANDLED
            
}
            
set_user_health(idget_user_health(id) + 50)
            
cs_set_user_money(idcs_get_user_money(id) - 1000)
        }
        case 
1:
        {
            if(
cs_get_user_money(id) < 2000)
            {
                
client_print(idprint_chat"No enough money!")
                return 
PLUGIN_HANDLED
            
}
            
set_user_health(idget_user_health(id) + 100)
            
cs_set_user_money(idcs_get_user_money(id) - 2000)
        }
        case 
2:
        {
            if(
cs_get_user_money(id) < 2500)
            {
                
client_print(idprint_chat"No enough money!")
                return 
PLUGIN_HANDLED
            
}
            
set_user_health(idget_user_health(id) + 150)
            
cs_set_user_money(idcs_get_user_money(id) - 2500)
        }
    }
    return 
PLUGIN_CONTINUE

ZaX is offline
YousufKhan2003
Junior Member
Join Date: Nov 2019
Location: Pakistan, Karachi
Old 11-17-2019 , 03:42   Re: [Req] Cs 1.6 BB VipShop Plugin
Reply With Quote #3

Thanks Bro ZAX It's Working Nice Plugin
YousufKhan2003 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 06:44.


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