Raised This Month: $ Target: $400
 0% 

He limit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Administrator
Member
Join Date: Jun 2014
Old 02-16-2017 , 08:29   Re: He limit
Reply With Quote #3

Quote:
Originally Posted by edon1337 View Post
You must have client_buy.amxx activated https://forums.alliedmods.net/showthread.php?t=149380
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <cl_buy>

public plugin_init() 
register_plugin("Block HE Buy""1.0""DoNii");

public 
client_buy(idiItem)
{
    if( 
iItem == CSW_HEGRENADE && cs_get_user_bpammo(idCSW_HEGRENADE) > )
    {
        
        
client_print(idprint_chat"You Can't Buy More HE Grenades");
        return 
PLUGIN_HANDLED;
    }
    
    return 
PLUGIN_CONTINUE;

Without client_buy.amxx can not do?
Administrator 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 21:03.


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