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

[bb] vipshop


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
yousuf khan
Member
Join Date: May 2019
Old 10-18-2020 , 08:48   [bb] vipshop
Reply With Quote #1

Hi.
I Want To Do VIPSHOP Only For VIPS And I Trying To Do That For Menu But I Can't Do That Can AnyOne Do That In This Menu Code:



Code:
public ClcmdMenu(id)
{
    new szMenu = menu_create("\y|\ro\y| \wCB VIP-SHOP \y|\ro\y|", "szMenuHandler")

    if(zp_get_user_zombie(id))
    menu_additem(szMenu, "\dWeapon Shop \r(\d Humans Only \r)", "0", 0)
    else
    menu_additem(szMenu, "\yWeapon Shop \w(\y Humans Only \w)", "0", 0)
    if(zp_get_user_zombie(id))
    menu_additem(szMenu, "\yHealth Shop \w(\y Zombies Only \w)", "1", 0)
    else
    menu_additem(szMenu, "\dHealth Shop \r(\d Zombies Only \r)", "1", 0)
    menu_setprop(szMenu, MPROP_EXIT, MEXIT_ALL )
    menu_display(id, szMenu, 0)

}

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

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

Last edited by yousuf khan; 10-18-2020 at 08:48.
yousuf khan is offline
 



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 07:07.


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