Raised This Month: $ Target: $400
 0% 

[HELP] Restrict weapon buy


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 02-02-2010 , 10:37   [HELP] Restrict weapon buy
Reply With Quote #1

Hello, i want a plugin that restricts AWP buy for simple players, buy VIP players can buy awp
reinert is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-02-2010 , 13:39   Re: [HELP] Restrict weapon buy
Reply With Quote #2

see my individual weapon restrictions plugin. link in sig. will need slight modification
__________________
Bugsy is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 02-02-2010 , 14:07   Re: [HELP] Restrict weapon buy
Reply With Quote #3

ah, thank you. maybe you can get me on right way ?


Your plugin's code is so big, i cant get it how it works, so can you export simple and small code like:
PHP Code:
if(get_user_flags(id) & ADMIN_LEVEL_H)
    {
        return 
PLUGIN_CONTINUE;
        } else {
restriction here,
        
client_print(idprint_chat"You can't buy AWP");
        {            return 
PLUGIN_CONTINUE;
        } 
reinert is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-02-2010 , 22:00   Re: [HELP] Restrict weapon buy
Reply With Quote #4

Are you looking to just block the AWP purchase? Or do you also want to prevent him from picking up an AWP that is laying on the ground?
__________________
Bugsy is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 02-03-2010 , 08:44   Re: [HELP] Restrict weapon buy
Reply With Quote #5

I Already blocked the AWP picking up for simple players. so i need only block from purchasing it.
reinert 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 07:25.


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