Hook/Block grenade buy.
Try to hook with this:
PHP Code:
I want make plugin which allows you to buy more than one grenade for old style menu too. Try to use cl_buy.inc but he not work when I have more than one HE grenade, showing "You cannot carry anymore!". |
Re: Hook/Block grenade buy.
I remember in a request i made, i used client_buy forward, and procedeed in plugin the money and give item.
Also, if player has already 1 HE or 2 Flash, you can use this : PHP Code:
|
Re: Hook/Block grenade buy.
Quote:
PHP Code:
|
Re: Hook/Block grenade buy.
Oww, one moment about =D
PHP Code:
|
Re: Hook/Block grenade buy.
The problem solved.
|
| All times are GMT -4. The time now is 10:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.