Raised This Month: $ Target: $400
 0% 

[HELP] Check of weapons in certain slot and deployment.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
JackEyedJones
New Member
Join Date: Jan 2019
Old 01-02-2019 , 09:27   [HELP] Check of weapons in certain slot and deployment.
Reply With Quote #1

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)).
Attached Files
File Type: sma Get Plugin or Get Source (pickweapons_on_use.sma - 292 views - 1.9 KB)
JackEyedJones is offline
 



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 07:39.


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