Raised This Month: $ Target: $400
 0% 

item amount


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
RainZ
Junior Member
Join Date: Sep 2011
Old 09-19-2011 , 08:34   Re: item amount
Reply With Quote #8

Arkshine , please help .

I made a plugin and I want to added the amount but I need to buy it twice so I can get the amount that I want . Please help

PHP Code:
public zp_extra_item_selected(playeritemid)
{
    if ( 
itemid == g_itemid )
    {
        if ( 
user_has_weapon(playerCSW_HEGRENADE) ) 
        
give_item(player"weapon_hegrenade")                 
        
cs_set_user_bpammo(playerCSW_HEGRENADEget_pcvar_num(cvar_amount))
        
        
client_print(playerprint_chat"[ZP] You bought Extra HE-Grenade")
        
g_Bomb[player] = true;
    } 

Last edited by RainZ; 09-20-2011 at 08:12.
RainZ 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 19:30.


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