[HELP] Check of weapons in certain slot and deployment.
1 Attachment(s)
Greetings to the Alliedmods community.
I've created a plugin that allows you to pick up weapons from the ground using IN_USE button, but there is the issue coming with it. Carrying of multiple weapons in same slot. Because of the method im using and also causes a loss of weapon in slots. I'd like to avoid it but im not sure how to build such code. I'll be glad if someone could help me with creating a code that checks weapon in certain slot and if there is a weapon in this slot the code to Deploy it so it could get stripped with fm_strip_user_gun(id, get_user_weapon(id)). |
Re: [HELP] Check of weapons in certain slot and deployment.
You probably should work with m_rgpPlayerItems.
AMX Mod X 1.8.3 (1.9.0 now):
Spoiler
AMX Mod X 1.8.2:
Spoiler
|
| All times are GMT -4. The time now is 07:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.