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

need help disable buy


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hannes
Member
Join Date: Sep 2010
Old 10-03-2012 , 06:06   need help disable buy
Reply With Quote #1

how do i disable buy so i cant buy weapons .. thanks
__________________
hannes is offline
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 10-03-2012 , 06:38   Re: need help disable buy
Reply With Quote #2

http://forums.alliedmods.net/search.php
__________________
micapat is offline
HKAnson
Member
Join Date: Oct 2011
Location: Hong Kong
Old 10-03-2012 , 07:25   Re: need help disable buy
Reply With Quote #3

register_clcmd("buy","block_buy")

Public block_buy(id)
{
return PLUGIN_HANDLED
}

is it working ? i hvn't test it
__________________
HKAnson is offline
hannes
Member
Join Date: Sep 2010
Old 10-03-2012 , 08:08   Re: need help disable buy
Reply With Quote #4

Quote:
Originally Posted by micapat View Post
i have but i dont find..
__________________
hannes is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 10-03-2012 , 08:27   Re: need help disable buy
Reply With Quote #5

Quote:
Originally Posted by HKAnson View Post
register_clcmd("buy","block_buy")

Public block_buy(id)
{
return PLUGIN_HANDLED
}

is it working ? i hvn't test it
that will only block the buy menu, you can still buy with commands

if you completly want to remove buying, just remove the buyzones from the map
http://forums.alliedmods.net/showpos...80&postcount=3 heres some examples by exolent
jimaway is offline
hannes
Member
Join Date: Sep 2010
Old 10-03-2012 , 08:32   Re: need help disable buy
Reply With Quote #6

dosent work
__________________
hannes is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 10-03-2012 , 08:35   Re: need help disable buy
Reply With Quote #7

It does. My guess is you don't know how to use it.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
hannes
Member
Join Date: Sep 2010
Old 10-03-2012 , 08:42   Re: need help disable buy
Reply With Quote #8

Quote:
Originally Posted by Backstabnoob View Post
It does. My guess is you don't know how to use it.
i guess that too


remove_entity_name
Error: Undefined symbol "remove_entity_name" on line 20
Error: Undefined symbol "remove_entity_name" on line 21
__________________

Last edited by hannes; 10-03-2012 at 08:44.
hannes is offline
HKAnson
Member
Join Date: Oct 2011
Location: Hong Kong
Old 10-03-2012 , 09:26   Re: need help disable buy
Reply With Quote #9

Shall you upload your SMA to us
__________________
HKAnson is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 10-03-2012 , 09:27   Re: need help disable buy
Reply With Quote #10

You need to include engine.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob 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 00:03.


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