Stopping weaponswitch
i'm making a plugin that makes the player only use glock and knife. How do i make it so they can't buy weapons or switch to other weapons other than glock and knife?
thanks :D |
weapon arena already does this.
|
well i dont think i asked for a plugin that does it... i just asked how to do it
|
Well, maybe if you looked at that plugin, you might see how it's done?
|
its not that simple. so yes, Lee, has a good point.
you either have to use the restrict plugin or rewrite your own to prevent buying. |
Or that:
Code:
To prevent weapon switch: engclient_cmd(id, "weapon_name") on weapon change. To prevent weapon collect: block player/weaponbox touch. |
| All times are GMT -4. The time now is 08:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.