Block some weapons for SOME players
If someone have a class there can't use example AK47 and M4A1, so is it possible to block some weapons for some players also in buy menu?
|
Re: Block some weapons for SOME players
Use RegisterHam( Ham_AddPlayerItem, "player", "HAM_AddItem_Pre" )
then supercede if it's the weapon you're wanting them not to have. |
Re: Block some weapons for SOME players
Thanks, I got another question:
Is it possible to add extra damage to example a AWP? |
Re: Block some weapons for SOME players
Yep. Many different ways to do it, and I'm sure my method will be corrected with a more efficient one, so be sure to check in.
PHP Code:
|
Re: Block some weapons for SOME players
Quote:
Quote:
|
Re: Block some weapons for SOME players
That way is pretty hard isnt there a easier way?
|
Re: Block some weapons for SOME players
Quote:
And for other request, Ham_AddPlayerItem wont block buy, money will be taken but weapon won't be given. Look how i block flash buy and flash pickup in this plugin : http://forums.alliedmods.net/showthread.php?p=596743 And do the same with m4 and ak |
| All times are GMT -4. The time now is 08:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.